Home
last modified time | relevance | path

Searched refs:GetBestIndex (Results 1 – 7 of 7) sorted by relevance

/aoo41x/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx388 *pData++ = static_cast< sal_uInt8 >( mrPalette.GetBestIndex( aColor ) ); in WritePixel()
427 pData[mnX>>1] |= (static_cast< sal_uInt8 >( mrPalette.GetBestIndex( aColor ) ) & 0x0f); in WritePixel()
462 if( mrPalette.GetBestIndex( aColor ) & 1 ) in WritePixel()
/aoo41x/main/vcl/source/gdi/
H A Dsalmisc.cxx105 …aIndex.SetIndex( sal::static_int_cast<sal_uInt8>(rDstBuffer.maPalette.GetBestIndex( rSrcBuffer.maP… in ImplPALToPAL()
264 …pColToPalMap[ ImplIndexFromColor( aCol ) ] = (sal_uInt8) rDstBuffer.maPalette.GetBestIndex( aCol ); in ImplTCToPAL()
H A Dbmpacc.cxx333 return( HasPalette() ? mpBuffer->maPalette.GetBestIndex( rBitmapColor ) : 0 ); in GetBestPaletteIndex()
H A Doutdev6.cxx512 … pMap[ i ] = BitmapColor( (sal_uInt8) rPal.GetBestIndex( aCol.Merge( aFillCol, cTrans ) ) ); in DrawTransparent()
H A Dbitmap3.cxx3064 …pIndexMap[ nIndex++ ] = (sal_uInt8) aNewPal.GetBestIndex( BitmapColor( (sal_uInt8) nR, (sal_uInt8)… in ImplReducePopular()
/aoo41x/main/vcl/inc/vcl/
H A Dsalbtype.hxx210 inline sal_uInt16 GetBestIndex( const BitmapColor& rCol ) const;
690 inline sal_uInt16 BitmapPalette::GetBestIndex( const BitmapColor& rCol ) const in GetBestIndex() function in BitmapPalette
/aoo41x/main/sw/source/filter/ww8/
H A Dww8atr.cxx1609 nCol = static_cast< sal_uInt8 >(pBmpPal->GetBestIndex( rCol ) + 1); in TransCol()

Completed in 324 milliseconds