Lines Matching refs:m_nUsed
2996 m_nUsed = 1 << m_aVisual.GetDepth(); in SalColormap()
3056 m_nUsed( rPalette.GetEntryCount() ), in SalColormap()
3059 m_aPalette = std::vector<SalColor>(m_nUsed); in SalColormap()
3061 for( unsigned int i = 0; i < m_nUsed; i++ ) in SalColormap()
3080 m_nUsed( 2 ), in SalColormap()
3085 m_aPalette = std::vector<SalColor>(m_nUsed); in SalColormap()
3097 m_nUsed( 1 << nDepth ), in SalColormap()
3195 if( rPalette.GetEntryCount() > m_nUsed ) in SetPalette()
3199 m_nUsed = rPalette.GetEntryCount(); in SetPalette()
3200 m_aPalette = std::vector<SalColor>(m_nUsed); in SetPalette()
3219 m_aPalette = std::vector<SalColor>(m_nUsed); in GetPalette()
3221 XColor *aColor = new XColor[m_nUsed]; in GetPalette()
3223 for( i = 0; i < m_nUsed; i++ ) in GetPalette()
3229 XQueryColors( m_pDisplay->GetDisplay(), m_hColormap, aColor, m_nUsed ); in GetPalette()
3231 for( i = 0; i < m_nUsed; i++ ) in GetPalette()
3273 m_aLookupTable[i++] = sal_Lookup( m_aPalette, r, g, b, m_nUsed ); in GetLookupTable()
3298 if( !m_aPalette.empty() && nPixel < m_nUsed ) in GetColor()
3362 for( Pixel i = 0; i < m_nUsed; i++ ) in GetPixel()