Home
last modified time | relevance | path

Searched refs:BitmapColor (Results 1 – 25 of 88) sorted by relevance

1234

/trunk/main/vcl/inc/vcl/
H A Dsalbtype.hxx123 inline BitmapColor( const BitmapColor& rBitmapColor );
133 inline BitmapColor& operator=( const BitmapColor& rBitmapColor );
289 inline BitmapColor::BitmapColor() : in BitmapColor() function in BitmapColor
309 inline BitmapColor::BitmapColor( const BitmapColor& rBitmapColor ) : in BitmapColor() function in BitmapColor
319 inline BitmapColor::BitmapColor( const Color& rColor ) : in BitmapColor() function in BitmapColor
329 inline BitmapColor::BitmapColor( sal_uInt8 cIndex ) : in BitmapColor() function in BitmapColor
355 inline BitmapColor& BitmapColor::operator=( const BitmapColor& rBitmapColor ) in operator =()
454 inline BitmapColor& BitmapColor::Invert() in Invert()
472 inline BitmapColor& BitmapColor::IncreaseLuminance( sal_uInt8 cGreyInc ) in IncreaseLuminance()
484 inline BitmapColor& BitmapColor::DecreaseLuminance( sal_uInt8 cGreyDec ) in DecreaseLuminance()
[all …]
H A Dbmpacc.hxx153 inline BitmapColor GetBestMatchingColor( const BitmapColor& rBitmapColor );
162 inline const BitmapColor& GetBestPaletteColor( const BitmapColor& rBitmapColor ) const;
170 inline BitmapColor GetPixel( long nY, long nX ) const;
176BitmapColor GetInterpolatedColorWithFallback( double fY, double fX, const BitmapColor& rFallback )…
180 BitmapColor GetColorWithFallback( double fY, double fX, const BitmapColor& rFallback ) const;
183 BitmapColor GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback ) const;
233 BitmapColor* mpLineColor;
234 BitmapColor* mpFillColor;
385 inline BitmapColor BitmapReadAccess::GetBestMatchingColor( const BitmapColor& rBitmapColor ) in GetBestMatchingColor()
445 inline const BitmapColor& BitmapReadAccess::GetBestPaletteColor( const BitmapColor& rBitmapColor ) … in GetBestPaletteColor()
[all …]
H A Doctree.hxx74 BitmapColor* pColor;
95 void AddColor( const BitmapColor& rColor );
98 inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
113 inline sal_uInt16 Octree::GetBestPaletteIndex( const BitmapColor& rColor ) in GetBestPaletteIndex()
115 pColor = &(BitmapColor&) rColor; in GetBestPaletteIndex()
145 inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
150 inline sal_uInt16 InverseColorMap::GetBestPaletteIndex( const BitmapColor& rColor ) in GetBestPaletteIndex()
/trunk/main/vcl/source/gdi/
H A Dbitmap4.cxx123 BitmapColor* pColRow1 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplConvolute3()
124 BitmapColor* pColRow2 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplConvolute3()
125 BitmapColor* pColRow3 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplConvolute3()
126 BitmapColor* pRowTmp1 = pColRow1; in ImplConvolute3()
129 BitmapColor* pColor; in ImplConvolute3()
270 BitmapColor* pColRow1 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplMedianFilter()
271 BitmapColor* pColRow2 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplMedianFilter()
272 BitmapColor* pColRow3 = (BitmapColor*) new sal_uInt8[ sizeof( BitmapColor ) * nWidth2 ]; in ImplMedianFilter()
276 BitmapColor* pColor; in ImplMedianFilter()
652 BitmapColor aCol; in ImplSolarize()
[all …]
H A Dbmpacc2.cxx117 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL()
133 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL()
149 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL()
165 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
187 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
209 BitmapColor aColor; in IMPL_FORMAT_GETPIXEL()
225 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
248 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
271 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
294 BitmapColor aBitmapColor; in IMPL_FORMAT_GETPIXEL_NOMASK()
[all …]
H A Dbitmap.cxx174 aGreyPalette2[ 0 ] = BitmapColor( 0, 0, 0 ); in GetGreyPalette()
185 aGreyPalette4[ 0 ] = BitmapColor( 0, 0, 0 ); in GetGreyPalette()
1148 BitmapColor aColor; in Expand()
1304 BitmapColor aCol; in CreateMask()
1497 BitmapColor aReplace; in Replace()
1572 BitmapColor aCol; in Replace()
1643 BitmapColor aCol; in Replace()
1734 BitmapColor aCol; in Replace()
1735 BitmapColor* pReplaces = new BitmapColor[ nColorCount ]; in Replace()
1842 BitmapColor aPixel; in CombineSimple()
[all …]
H A Dbmpacc3.cxx55 …mpLineColor = ( HasPalette() ? new BitmapColor( (sal_uInt8) GetBestPaletteIndex( rColor ) ) : new… in SetLineColor()
89 …mpFillColor = ( HasPalette() ? new BitmapColor( (sal_uInt8) GetBestPaletteIndex( rColor ) ) : new… in SetFillColor()
112 BitmapColor aColor = rColor; in Erase()
114 aColor = BitmapColor( (sal_uInt8)GetBestPaletteIndex( rColor) ); in Erase()
120 BitmapColor* pOldFillColor = mpFillColor ? new BitmapColor( *mpFillColor ) : NULL; in Erase()
136 const BitmapColor& rLineColor = *mpLineColor; in DrawLine()
274 const BitmapColor& rFillColor = *mpFillColor; in FillRect()
318 const BitmapColor& rFillColor = *mpFillColor; in FillPolygon()
379 const BitmapColor& rFillColor = *mpFillColor; in FillPolyPolygon()
H A Dbmpacc.cxx331 sal_uInt16 BitmapReadAccess::GetBestPaletteIndex( const BitmapColor& rBitmapColor ) const in GetBestPaletteIndex()
336 BitmapColor BitmapReadAccess::GetInterpolatedColorWithFallback( double fY, double fX, const BitmapC… in GetInterpolatedColorWithFallback()
348 BitmapColor aRetval(GetColor(nY, nX)); in GetInterpolatedColorWithFallback()
377 BitmapColor aXCol(rFallback); in GetInterpolatedColorWithFallback()
385 BitmapColor aYCol(rFallback); in GetInterpolatedColorWithFallback()
393 BitmapColor aXYCol(rFallback); in GetInterpolatedColorWithFallback()
425 BitmapColor BitmapReadAccess::GetColorWithFallback( double fY, double fX, const BitmapColor& rFallb… in GetColorWithFallback()
443 BitmapColor BitmapReadAccess::GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback … in GetColorWithFallback()
H A Dpngread.cxx141 BitmapColor mcTranspColor; // transparency mask's transparency "color"
142 BitmapColor mcOpaqueColor; // transparency mask's opaque "color"
854 mcOpaqueColor = BitmapColor( 0x00 ); in ImplReadTransparent()
855 mcTranspColor = BitmapColor( 0xFF ); in ImplReadTransparent()
1468 BitmapColor( in ImplDrawScanline()
1479 BitmapColor( in ImplDrawScanline()
1496 BitmapColor( in ImplDrawScanline()
1599 BitmapColor( in ImplDrawScanline()
1609 BitmapColor( in ImplDrawScanline()
1626 BitmapColor( in ImplDrawScanline()
[all …]
H A Dbitmap3.cxx726 BitmapColor aColor; in ImplConvertDown()
1187 BitmapColor aCol0; in ImplScaleInterpolate()
1188 BitmapColor aCol1; in ImplScaleInterpolate()
2282 BitmapColor aColor; in ImplScaleConvolutionHor()
2373 BitmapColor aColor; in ImplScaleConvolutionVer()
2642 BitmapColor aColor; in ImplDitherFloyd()
2782 BitmapColor aColor; in ImplDitherFloyd16()
2783 BitmapColor aBestCol; in ImplDitherFloyd16()
3217 BitmapColor aCol; in ImplMedianCut()
3377 BitmapColor aCol; in Adjust()
[all …]
H A Dsalmisc.cxx65 static long ImplIndexFromColor( const BitmapColor& rCol ) in ImplIndexFromColor()
97 BitmapColor* pColMapBuf = aColMap.ImplGetColorBuffer(); in ImplPALToPAL()
98 BitmapColor aIndex( 0 ); in ImplPALToPAL()
130 const BitmapColor* pColBuf = rSrcBuffer.maPalette.ImplGetColorBuffer(); in ImplPALToTC()
134 const BitmapColor aCol0( pColBuf[ 0 ] ); in ImplPALToTC()
135 const BitmapColor aCol1( pColBuf[ 1 ] ); in ImplPALToTC()
210 BitmapColor aCol; in ImplTCToTC()
253 BitmapColor aIndex( 0 ); in ImplTCToPAL()
261 BitmapColor aCol( sal::static_int_cast<sal_uInt8>(nR << 4), in ImplTCToPAL()
H A Doctree.cxx108 void Octree::AddColor( const BitmapColor& rColor ) in AddColor()
110 pColor = &(BitmapColor&) rColor; in AddColor()
133 pColor = &(BitmapColor&) pAcc->GetPaletteColor( pAcc->GetPixelIndex( nY, nX ) ); in ImplCreateOctree()
144 BitmapColor aColor; in ImplCreateOctree()
264 aPal[ nPalIndex++ ] = BitmapColor( (sal_uInt8) ( (double) pNode->nRed / pNode->nCount ), in CreatePalette()
316 const BitmapColor& rColor = rPal[ (sal_uInt16) nIndex ]; in InverseColorMap()
/trunk/main/vcl/source/helper/
H A Dcanvasbitmap.cxx1160 const BitmapColor aCol = in convertIntegerToRGB()
1177 const BitmapColor aCol = in convertIntegerToRGB()
1214 const BitmapColor aCol = in convertIntegerToARGB()
1231 const BitmapColor aCol = in convertIntegerToARGB()
1269 const BitmapColor aCol = in convertIntegerToPARGB()
1323 BitmapColor( in convertIntegerFromRGB()
1341 BitmapColor( in convertIntegerFromRGB()
1372 BitmapColor( in convertIntegerFromARGB()
1390 BitmapColor( in convertIntegerFromARGB()
1422 BitmapColor( in convertIntegerFromPARGB()
[all …]
/trunk/main/vcl/inc/
H A Dimpoct.hxx43 inline ImpErrorQuad( const BitmapColor& rColor ) : in ImpErrorQuad()
48 inline void operator=( const BitmapColor& rColor );
49 inline ImpErrorQuad& operator-=( const BitmapColor& rColor );
56 inline BitmapColor ImplGetColor();
61 inline void ImpErrorQuad::operator=( const BitmapColor& rColor ) in operator =()
70 inline ImpErrorQuad& ImpErrorQuad::operator-=( const BitmapColor& rColor ) in operator -=()
117 inline BitmapColor ImpErrorQuad::ImplGetColor() in ImplGetColor()
119 return BitmapColor( (sal_uInt8) ( ( nRed < 0L ? 0L : nRed > 8160L ? 8160L : nRed ) >> 5L ), in ImplGetColor()
/trunk/main/vcl/test/
H A Dcanvasbitmaptest.cxx890 BitmapColor aBlack(0); in Paint()
891 BitmapColor aWhite(0); in Paint()
923 pAcc->SetPixel(0,0,BitmapColor(1)); in Paint()
924 pAcc->SetPixel(0,1,BitmapColor(0)); in Paint()
925 pAcc->SetPixel(0,2,BitmapColor(1)); in Paint()
941 pAcc->SetPixel(0,0,BitmapColor(255)); in Paint()
942 pAcc->SetPixel(0,1,BitmapColor(0)); in Paint()
943 pAcc->SetPixel(0,2,BitmapColor(255)); in Paint()
971 test(pBmpAcc->GetPixel(0,0) == BitmapColor(0), in Paint()
973 test(pBmpAcc->GetPixel(2,2) == BitmapColor(2), in Paint()
[all …]
/trunk/main/filter/source/graphicfilter/itga/
H A Ditga.cxx328 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
353 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
442 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
491 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
511 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
542 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
565 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
609 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
637 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
647 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
[all …]
/trunk/main/canvas/source/vcl/
H A Dimpltools.cxx306 const BitmapColor& rCol0( pAlphaReadAccess->GetPaletteColor( 0 ) ); in transformBitmap()
307 const BitmapColor& rCol1( pAlphaReadAccess->GetPaletteColor( 1 ) ); in transformBitmap()
375 pAlphaWriteAccess->SetPixel( y, x, BitmapColor(255) ); in transformBitmap()
389 BitmapColor aColor( pReadAccess->GetPixel( nSrcY, nSrcX ) ); in transformBitmap()
421 pAlphaWriteAccess->SetPixel( y, x, BitmapColor(255) ); in transformBitmap()
433 BitmapColor( in transformBitmap()
439 BitmapColor aColor( pReadAccess->GetPixel( nSrcY, in transformBitmap()
500 pAlphaWriteAccess->SetPixel( y, x, BitmapColor(255) ); in transformBitmap()
504 pAlphaWriteAccess->SetPixel( y, x, BitmapColor(0) ); in transformBitmap()
H A Dcanvasbitmaphelper.cxx266 BitmapColor( data[ nCurrPos ], in setData()
329 pWriteAccess->SetPixel( y, x, BitmapColor( data[ nCurrPos ], in setData()
336 BitmapColor( in setData()
359 BitmapColor( data[ nCurrPos ], in setData()
408 pWriteAccess->SetPixel( y, x, BitmapColor( data[ nCurrPos ], in setData()
478 pWriteAccess->SetPixel( pos.Y, pos.X, BitmapColor( color[ 0 ], in setPixel()
483 pAlphaWriteAccess->SetPixel( pos.Y, pos.X, BitmapColor( 255 - color[ 3 ] ) ); in setPixel()
534 const BitmapColor aColor( pReadAccess->GetColor( pos.Y, pos.X ) ); in getPixel()
/trunk/main/svtools/source/graphic/
H A Dgrfmgr2.cxx1030 BitmapColor aCol0, aCol1, aColRes; in ImplCreateScaled()
1064 const BitmapColor& rCol0 = pAcc->GetPaletteColor( pLine0[ nTmpX ] ); in ImplCreateScaled()
1065 const BitmapColor& rCol2 = pAcc->GetPaletteColor( pLine1[ nTmpX ] ); in ImplCreateScaled()
1066 const BitmapColor& rCol1 = pAcc->GetPaletteColor( pLine0[ ++nTmpX ] ); in ImplCreateScaled()
1067 const BitmapColor& rCol3 = pAcc->GetPaletteColor( pLine1[ nTmpX ] ); in ImplCreateScaled()
1270 BitmapColor aAlphaValue( 0 ); in ImplCreateScaled()
1468 BitmapColor aColRes; in ImplCreateRotatedScaled()
1510 BitmapColor aCol0, aCol1; in ImplCreateRotatedScaled()
1616 BitmapColor aAlphaVal( 0 ); in ImplCreateRotatedScaled()
1675 BitmapColor aTestB; in ImplCreateRotatedScaled()
[all …]
/trunk/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx387 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
418 const BitmapColor& rColor = mrPalette[( pData[mnX >> 1] >> mnShift) & 0x0f]; in ReadPixel()
425 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
455 const BitmapColor& rColor = mrPalette[ (pData[mnX >> 3 ] >> ( 7 - ( mnX & 7 ) )) & 1]; in ReadPixel()
461 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
618 aDefPalette256[i] = BitmapColor( aImplSalSysPalEntryAry[i].mnRed, in GetDefaultPalette()
623 aDefPalette2[0] = BitmapColor( 0, 0, 0 ); in GetDefaultPalette()
624 aDefPalette2[1] = BitmapColor( 0xff, 0xff, 0xff ); in GetDefaultPalette()
637 aDefPalette256[ i ] = BitmapColor( nRed, nGreen, nBlue ); in GetDefaultPalette()
/trunk/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx347 BitmapColor aBitmapColor; in ImplReadBody()
470 mpWriteAcc->SetPixel( nY, nX, BitmapColor( nRed, (sal_uInt8)0, (sal_uInt8)0 ) ); in ImplReadBody()
487 mpWriteAcc->SetPixel( nY, nX, BitmapColor( nRed, (sal_uInt8)0, (sal_uInt8)0 ) ); in ImplReadBody()
511 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), nGreen, aBitmapColor.GetBlue() )… in ImplReadBody()
529 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), nGreen, aBitmapColor.GetBlue() )… in ImplReadBody()
553 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue )… in ImplReadBody()
571 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue )… in ImplReadBody()
659 mpWriteAcc->SetPixel( nY, nX, BitmapColor( cR, cG, cB ) ); in ImplReadBody()
/trunk/main/svx/source/sdr/primitive2d/
H A Dsdrprimitivetools.cxx54 const BitmapColor aPixColor(aVCLColor); in createDefaultCross_3x3()
55 const BitmapColor aMaskColor(0x01); in createDefaultCross_3x3()
101 const BitmapColor aPixColorA(aColA); in createDefaultGluepoint_9x9()
102 const BitmapColor aPixColorB(aColB); in createDefaultGluepoint_9x9()
103 const BitmapColor aMaskColor(0x01); in createDefaultGluepoint_9x9()
/trunk/main/basebmp/test/
H A Dbmpdemo.cxx870 const BitmapColor* palette;
873 double norm( BitmapColor const& rLHS, in norm()
874 BitmapColor const& rRHS ) const in norm()
886 const BitmapColor aTmpCol(v.red(), in find_best_match()
891 const BitmapColor* best_entry; in find_best_match()
892 const BitmapColor* palette_end( palette+num_entries ); in find_best_match()
899 const BitmapColor* curr_entry( palette ); in find_best_match()
912 value_type toCol( BitmapColor const& rCol ) const in toCol()
923 PaletteImageAccessor( const BitmapColor* pPalette, in PaletteImageAccessor()
/trunk/main/svtools/source/filter/jpeg/
H A Djpeg.cxx372 aGrayPal[ n ] = BitmapColor( cGray, cGray, cGray ); in CreateBitmap()
444 BitmapColor aColor; in FillBitmap()
451 BitmapColor* pCols = new BitmapColor[ 256 ]; in FillBitmap()
456 pCols[ n ] = pAcc->GetBestMatchingColor( BitmapColor( cGray, cGray, cGray ) ); in FillBitmap()
679 BitmapColor aColor; in GetScanline()
745 BitmapColor aColor; in Write()
/trunk/main/filter/source/graphicfilter/ipbm/
H A Dipbm.cxx114 mpAcc->SetPaletteColor( 0, BitmapColor( 0xff, 0xff, 0xff ) ); in ReadPBM()
115 mpAcc->SetPaletteColor( 1, BitmapColor( 0x00, 0x00, 0x00 ) ); in ReadPBM()
137 …mpAcc->SetPaletteColor( i, BitmapColor( (sal_uInt8)nCount, (sal_uInt8)nCount, (sal_uInt8)nCount ) … in ReadPBM()
325 …mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nB… in ImplReadBody()
464 …mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( static_cast< sal_uInt8 >( ( nRGB[ 0 ] * 255 ) / m… in ImplReadBody()

Completed in 194 milliseconds

1234