Lines Matching refs:nBitCount
111 BitmapBuffer* X11SalBitmap::ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPal… in ImplCreateDIB() argument
113 …DBG_ASSERT( nBitCount == 1 || nBitCount == 4 || nBitCount == 8 || nBitCount == 16 || nBitCount == … in ImplCreateDIB()
130 const sal_uInt16 nColors = ( nBitCount <= 8 ) ? ( 1 << nBitCount ) : 0; in ImplCreateDIB()
134 switch( nBitCount ) in ImplCreateDIB()
151 nBitCount = 24; in ImplCreateDIB()
160 pDIB->mnScanlineSize = AlignedWidth4Bytes( pDIB->mnWidth * nBitCount ); in ImplCreateDIB()
161 pDIB->mnBitCount = nBitCount; in ImplCreateDIB()
685 bool X11SalBitmap::Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) in Create() argument
688 mpDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create()
779 sal_uInt16 nBitCount; in GetBitCount() local
782 nBitCount = mpDIB->mnBitCount; in GetBitCount()
784 nBitCount = mpDDB->ImplGetDepth(); in GetBitCount()
786 nBitCount = 0; in GetBitCount()
788 return nBitCount; in GetBitCount()