Lines Matching refs:nPixel
2924 SalColor SalVisual::GetTCColor( Pixel nPixel ) const in GetTCColor()
2927 return (SalColor)nPixel; in GetTCColor()
2930 return MAKE_SALCOLOR( (nPixel & 0x0000FF), in GetTCColor()
2931 (nPixel & 0x00FF00) >> 8, in GetTCColor()
2932 (nPixel & 0xFF0000) >> 16); in GetTCColor()
2934 Pixel r = nPixel & red_mask; in GetTCColor()
2935 Pixel g = nPixel & green_mask; in GetTCColor()
2936 Pixel b = nPixel & blue_mask; in GetTCColor()
3246 sal_uInt16 nPixel = 0; in sal_Lookup() local
3258 nPixel = i; in sal_Lookup()
3262 return nPixel; in sal_Lookup()
3277 SalColor SalColormap::GetColor( Pixel nPixel ) const in GetColor()
3279 if( m_nBlackPixel == nPixel ) return SALCOLOR_BLACK; in GetColor()
3280 if( m_nWhitePixel == nPixel ) return SALCOLOR_WHITE; in GetColor()
3285 return m_aVisual.GetTCColor( nPixel ); in GetColor()
3298 if( !m_aPalette.empty() && nPixel < m_nUsed ) in GetColor()
3299 return m_aPalette[nPixel]; in GetColor()
3304 return nPixel; in GetColor()
3310 aColor.pixel = nPixel; in GetColor()