Lines Matching refs:nX
35 return BitmapColor( pScanline[ nX >> 3 ] & ( 1 << ( 7 - ( nX & 7 ) ) ) ? 1 : 0 ); in IMPL_FORMAT_GETPIXEL_NOMASK()
42 sal_uInt8& rByte = pScanline[ nX >> 3 ]; in IMPL_FORMAT_SETPIXEL_NOMASK()
44 ( rBitmapColor.GetIndex() & 1 ) ? ( rByte |= 1 << ( 7 - ( nX & 7 ) ) ) : in IMPL_FORMAT_SETPIXEL_NOMASK()
45 ( rByte &= ~( 1 << ( 7 - ( nX & 7 ) ) ) ); in IMPL_FORMAT_SETPIXEL_NOMASK()
52 return BitmapColor( pScanline[ nX >> 3 ] & ( 1 << ( nX & 7 ) ) ? 1 : 0 ); in IMPL_FORMAT_GETPIXEL_NOMASK()
59 sal_uInt8& rByte = pScanline[ nX >> 3 ]; in IMPL_FORMAT_SETPIXEL_NOMASK()
61 ( rBitmapColor.GetIndex() & 1 ) ? ( rByte |= 1 << ( nX & 7 ) ) : in IMPL_FORMAT_SETPIXEL_NOMASK()
62 ( rByte &= ~( 1 << ( nX & 7 ) ) ); in IMPL_FORMAT_SETPIXEL_NOMASK()
69 return BitmapColor( ( pScanline[ nX >> 1 ] >> ( nX & 1 ? 0 : 4 ) ) & 0x0f ); in IMPL_FORMAT_GETPIXEL_NOMASK()
76 sal_uInt8& rByte = pScanline[ nX >> 1 ]; in IMPL_FORMAT_SETPIXEL_NOMASK()
78 ( nX & 1 ) ? ( rByte &= 0xf0, rByte |= ( rBitmapColor.GetIndex() & 0x0f ) ) : in IMPL_FORMAT_SETPIXEL_NOMASK()
86 return BitmapColor( ( pScanline[ nX >> 1 ] >> ( nX & 1 ? 4 : 0 ) ) & 0x0f ); in IMPL_FORMAT_GETPIXEL_NOMASK()
93 sal_uInt8& rByte = pScanline[ nX >> 1 ]; in IMPL_FORMAT_SETPIXEL_NOMASK()
95 ( nX & 1 ) ? ( rByte &= 0x0f, rByte |= ( rBitmapColor.GetIndex() << 4 ) ) : in IMPL_FORMAT_SETPIXEL_NOMASK()
103 return BitmapColor( pScanline[ nX ] ); in IMPL_FORMAT_GETPIXEL_NOMASK()
110 pScanline[ nX ] = rBitmapColor.GetIndex(); in IMPL_FORMAT_SETPIXEL_NOMASK()
118 rMask.GetColorFor8Bit( aColor, pScanline + nX ); in IMPL_FORMAT_GETPIXEL()
126 rMask.SetColorFor8Bit( rBitmapColor, pScanline + nX ); in IMPL_FORMAT_SETPIXEL()
134 rMask.GetColorFor16BitMSB( aColor, pScanline + ( nX << 1UL ) ); in IMPL_FORMAT_GETPIXEL()
142 rMask.SetColorFor16BitMSB( rBitmapColor, pScanline + ( nX << 1UL ) ); in IMPL_FORMAT_SETPIXEL()
150 rMask.GetColorFor16BitLSB( aColor, pScanline + ( nX << 1UL ) ); in IMPL_FORMAT_GETPIXEL()
158 rMask.SetColorFor16BitLSB( rBitmapColor, pScanline + ( nX << 1UL ) ); in IMPL_FORMAT_SETPIXEL()
167 aBitmapColor.SetBlue( *( pScanline = pScanline + nX * 3 )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
178 *( pScanline = pScanline + nX * 3 )++ = rBitmapColor.GetBlue(); in IMPL_FORMAT_SETPIXEL_NOMASK()
189 aBitmapColor.SetRed( *( pScanline = pScanline + nX * 3 )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
200 *( pScanline = pScanline + nX * 3 )++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
210 rMask.GetColorFor24Bit( aColor, pScanline + nX * 3L ); in IMPL_FORMAT_GETPIXEL()
218 rMask.SetColorFor24Bit( rBitmapColor, pScanline + nX * 3L ); in IMPL_FORMAT_SETPIXEL()
227 aBitmapColor.SetBlue( *( pScanline = pScanline + ( nX << 2 ) + 1 )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
238 *( pScanline = pScanline + ( nX << 2 ) )++ = 0; in IMPL_FORMAT_SETPIXEL_NOMASK()
250 aBitmapColor.SetRed( *( pScanline = pScanline + ( nX << 2 ) + 1 )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
261 *( pScanline = pScanline + ( nX << 2 ) )++ = 0; in IMPL_FORMAT_SETPIXEL_NOMASK()
273 aBitmapColor.SetBlue( *( pScanline = pScanline + ( nX << 2 ) )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
284 *( pScanline = pScanline + ( nX << 2 ) )++ = rBitmapColor.GetBlue(); in IMPL_FORMAT_SETPIXEL_NOMASK()
296 aBitmapColor.SetRed( *( pScanline = pScanline + ( nX << 2 ) )++ ); in IMPL_FORMAT_GETPIXEL_NOMASK()
307 *( pScanline = pScanline + ( nX << 2 ) )++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
318 rMask.GetColorFor32Bit( aColor, pScanline + ( nX << 2UL ) ); in IMPL_FORMAT_GETPIXEL()
326 rMask.SetColorFor32Bit( rBitmapColor, pScanline + ( nX << 2UL ) ); in IMPL_FORMAT_SETPIXEL()