Lines Matching refs:rPalette
3051 SalColormap::SalColormap( const BitmapPalette &rPalette ) in SalColormap() argument
3056 m_nUsed( rPalette.GetEntryCount() ), in SalColormap()
3063 const BitmapColor &rColor = rPalette[i]; in SalColormap()
3187 void SalColormap::SetPalette( const BitmapPalette &rPalette ) in SetPalette() argument
3195 if( rPalette.GetEntryCount() > m_nUsed ) in SetPalette()
3199 m_nUsed = rPalette.GetEntryCount(); in SetPalette()
3203 for( int i = 0; i < rPalette.GetEntryCount(); i++ ) in SetPalette()
3205 const BitmapColor &rColor = rPalette[i]; in SetPalette()
3242 static sal_uInt16 sal_Lookup( const std::vector<SalColor>& rPalette, in sal_Lookup() argument
3247 int nBest = ColorDiff( rPalette[0], r, g, b ); in sal_Lookup()
3251 int n = ColorDiff( rPalette[i], r, g, b ); in sal_Lookup()