Lines Matching refs:m_aPalette
3059 m_aPalette = std::vector<SalColor>(m_nUsed); in SalColormap()
3064 m_aPalette[i] = MAKE_SALCOLOR( rColor.GetRed(), in SalColormap()
3067 if( (m_nBlackPixel == SALCOLOR_NONE) && (SALCOLOR_BLACK == m_aPalette[i]) ) in SalColormap()
3069 else if( (m_nWhitePixel == SALCOLOR_NONE) && (SALCOLOR_WHITE == m_aPalette[i]) ) in SalColormap()
3085 m_aPalette = std::vector<SalColor>(m_nUsed); in SalColormap()
3087 m_aPalette[m_nBlackPixel] = SALCOLOR_BLACK; in SalColormap()
3088 m_aPalette[m_nWhitePixel] = SALCOLOR_WHITE; in SalColormap()
3200 m_aPalette = std::vector<SalColor>(m_nUsed); in SetPalette()
3206 m_aPalette[i] = MAKE_SALCOLOR( rColor.GetRed(), in SetPalette()
3209 if( (m_nBlackPixel == SALCOLOR_NONE) && (SALCOLOR_BLACK == m_aPalette[i]) ) in SetPalette()
3211 else if( (m_nWhitePixel == SALCOLOR_NONE) && (SALCOLOR_WHITE == m_aPalette[i]) ) in SetPalette()
3219 m_aPalette = std::vector<SalColor>(m_nUsed); in GetPalette()
3233 m_aPalette[i] = MAKE_SALCOLOR( aColor[i].red >> 8, in GetPalette()
3273 m_aLookupTable[i++] = sal_Lookup( m_aPalette, r, g, b, m_nUsed ); in GetLookupTable()
3287 if( m_aPalette.empty() in GetColor()
3298 if( !m_aPalette.empty() && nPixel < m_nUsed ) in GetColor()
3299 return m_aPalette[nPixel]; in GetColor()
3351 if( m_aPalette.empty() in GetPixel()
3361 if( !m_aPalette.empty() ) in GetPixel()
3363 if( m_aPalette[i] == nSalColor ) in GetPixel()
3376 if( !m_aPalette.empty() && !m_aPalette[aColor.pixel] ) in GetPixel()
3378 const_cast<SalColormap*>(this)->m_aPalette[aColor.pixel] = nSalColor; in GetPixel()
3380 if( !(aColor.pixel & 1) && !m_aPalette[aColor.pixel+1] ) in GetPixel()
3391 if( !m_aPalette[aInversColor.pixel] ) in GetPixel()
3392 … const_cast<SalColormap*>(this)->m_aPalette[aInversColor.pixel] = nInversColor; in GetPixel()
3411 if( m_aPalette.empty() ) in GetPixel()