Searched refs:GetBestIndex (Results 1 – 7 of 7) sorted by relevance
388 *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()
105 …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()
333 return( HasPalette() ? mpBuffer->maPalette.GetBestIndex( rBitmapColor ) : 0 ); in GetBestPaletteIndex()
512 … pMap[ i ] = BitmapColor( (sal_uInt8) rPal.GetBestIndex( aCol.Merge( aFillCol, cTrans ) ) ); in DrawTransparent()
3064 …pIndexMap[ nIndex++ ] = (sal_uInt8) aNewPal.GetBestIndex( BitmapColor( (sal_uInt8) nR, (sal_uInt8)… in ImplReducePopular()
210 inline sal_uInt16 GetBestIndex( const BitmapColor& rCol ) const;690 inline sal_uInt16 BitmapPalette::GetBestIndex( const BitmapColor& rCol ) const in GetBestIndex() function in BitmapPalette
1609 nCol = static_cast< sal_uInt8 >(pBmpPal->GetBestIndex( rCol ) + 1); in TransCol()
Completed in 324 milliseconds