Lines Matching refs:nX
39 static BitmapColor GetPixelFor##Format( ConstScanline pScanline, long nX, const ColorMask& rMask );
42 static void SetPixelFor##Format( Scanline pScanline, long nX, const BitmapColor& rBitmapColor, cons…
49 BitmapColor BitmapReadAccess::GetPixelFor##Format( ConstScanline pScanline, long nX, const ColorMas…
52 BitmapColor BitmapReadAccess::GetPixelFor##Format( ConstScanline pScanline, long nX, const ColorMas…
55 void BitmapReadAccess::SetPixelFor##Format( Scanline pScanline, long nX, const BitmapColor& rBitmap…
58 void BitmapReadAccess::SetPixelFor##Format( Scanline pScanline, long nX, const BitmapColor& rBitmap…
74 typedef BitmapColor (*FncGetPixel)( ConstScanline pScanline, long nX, const ColorMask& rMask );
75 typedef void (*FncSetPixel)( Scanline pScanline, long nX, const BitmapColor& rBitmapColor, const Co…
168 inline BitmapColor GetPixelFromData( const sal_uInt8* pData, long nX ) const;
169 …inline void SetPixelOnData( sal_uInt8* pData, long nX, const BitmapColor& rBitmapC…
170 inline BitmapColor GetPixel( long nY, long nX ) const;
171 inline BitmapColor GetColor( long nY, long nX ) const;
172 inline sal_uInt8 GetPixelIndex( long nY, long nX ) const;
173 inline sal_uInt8 GetLuminance( long nY, long nX ) const;
183 BitmapColor GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback ) const;
207 inline void SetPixel( long nY, long nX, const BitmapColor& rBitmapColor );
208 inline void SetPixelIndex( long nY, long nX, sal_uInt8 cIndex );
474 inline BitmapColor BitmapReadAccess::GetPixel( long nY, long nX ) const in GetPixel()
477 DBG_ASSERT( nX < mpBuffer->mnWidth, "x-coordinate out of range!" ); in GetPixel()
479 return mFncGetPixel( mpScanBuf[ nY ], nX, maColorMask ); in GetPixel()
482 inline sal_uInt8 BitmapReadAccess::GetPixelIndex( long nY, long nX ) const in GetPixelIndex()
484 return GetPixel( nY, nX ).GetBlueOrIndex(); in GetPixelIndex()
489 inline BitmapColor BitmapReadAccess::GetPixelFromData( const sal_uInt8* pData, long nX ) const in GetPixelFromData()
492 return mFncGetPixel( pData, nX, maColorMask ); in GetPixelFromData()
497 inline void BitmapReadAccess::SetPixelOnData( sal_uInt8* pData, long nX, const BitmapColor& rBitmap… in SetPixelOnData() argument
500 mFncSetPixel( pData, nX, rBitmapColor, maColorMask ); in SetPixelOnData()
505 inline BitmapColor BitmapReadAccess::GetColor( long nY, long nX ) const in GetColor()
508 return mpBuffer->maPalette[ GetPixelIndex( nY, nX ) ]; in GetColor()
510 return GetPixel( nY, nX ); in GetColor()
515 inline sal_uInt8 BitmapReadAccess::GetLuminance( long nY, long nX ) const in GetLuminance()
517 return GetColor( nY, nX ).GetLuminance(); in GetLuminance()
547 inline void BitmapWriteAccess::SetPixel( long nY, long nX, const BitmapColor& rBitmapColor ) in SetPixel() argument
550 DBG_ASSERT( nX < mpBuffer->mnWidth, "x-coordinate out of range!" ); in SetPixel()
552 mFncSetPixel( mpScanBuf[ nY ], nX, rBitmapColor, maColorMask ); in SetPixel()
555 inline void BitmapWriteAccess::SetPixelIndex( long nY, long nX, sal_uInt8 cIndex ) in SetPixelIndex() argument
557 SetPixel( nY, nX, BitmapColor( cIndex )); in SetPixelIndex()