Lines Matching refs:nBitCount
87 Bitmap::Bitmap( const Size& rSizePixel, sal_uInt16 nBitCount, const BitmapPalette* pPal ) in Bitmap() argument
94 if( nBitCount <= 8 ) in Bitmap()
98 if( 1 == nBitCount ) in Bitmap()
104 else if( ( 4 == nBitCount ) || ( 8 == nBitCount ) ) in Bitmap()
106 aPal.SetEntryCount( 1 << nBitCount ); in Bitmap()
125 if( 8 == nBitCount ) in Bitmap()
144 mpImpBmp->ImplCreate( rSizePixel, nBitCount, pRealPal ? *pRealPal : aPal ); in Bitmap()
326 const sal_uInt16 nBitCount = GetBitCount(); in HasGreyPalette() local
329 if( 1 == nBitCount ) in HasGreyPalette()
347 else if( 4 == nBitCount || 8 == nBitCount ) in HasGreyPalette()
353 …Acc->HasPalette() && ( (BitmapPalette&) pRAcc->GetPalette() == GetGreyPalette( 1 << nBitCount ) ) ) in HasGreyPalette()