Lines Matching refs:BitmapColor

86 d_Col = BitmapColor( (sal_uInt8) ( _def_cR | ( ( _def_cR & mnROr ) >> mnROrShift ) ),					\
106 class VCL_DLLPUBLIC BitmapColor class
122 inline BitmapColor();
123 inline BitmapColor( const BitmapColor& rBitmapColor );
124 inline BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue );
125 inline BitmapColor( const Color& rColor );
127 inline BitmapColor( sal_uInt8 cIndex );
129 inline ~BitmapColor() {}; in ~BitmapColor()
131 inline sal_Bool operator==( const BitmapColor& rBitmapColor ) const;
132 inline sal_Bool operator!=( const BitmapColor& rBitmapColor ) const;
133 inline BitmapColor& operator=( const BitmapColor& rBitmapColor );
156 inline BitmapColor& Invert();
159 inline BitmapColor& IncreaseLuminance( sal_uInt8 cGreyInc );
160 inline BitmapColor& DecreaseLuminance( sal_uInt8 cGreyDec );
162 inline BitmapColor& Merge( const BitmapColor& rColor, sal_uInt8 cTransparency );
163 inline BitmapColor& Merge( sal_uInt8 cR, sal_uInt8 cG, sal_uInt8 cB, sal_uInt8 cTransparency );
165 inline sal_uLong GetColorError( const BitmapColor& rBitmapColor ) const;
181 BitmapColor* mpBitmapColor;
188 SAL_DLLPRIVATE inline BitmapColor* ImplGetColorBuffer() const;
207 inline const BitmapColor& operator[]( sal_uInt16 nIndex ) const;
208 inline BitmapColor& operator[]( sal_uInt16 nIndex );
210 inline sal_uInt16 GetBestIndex( const BitmapColor& rCol ) const;
244 inline void GetColorFor8Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const;
245 inline void SetColorFor8Bit( const BitmapColor& rColor, HPBYTE pPixel ) const;
247 inline void GetColorFor16BitMSB( BitmapColor& rColor, ConstHPBYTE pPixel ) const;
248 inline void SetColorFor16BitMSB( const BitmapColor& rColor, HPBYTE pPixel ) const;
249 inline void GetColorFor16BitLSB( BitmapColor& rColor, ConstHPBYTE pPixel ) const;
250 inline void SetColorFor16BitLSB( const BitmapColor& rColor, HPBYTE pPixel ) const;
252 inline void GetColorFor24Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const;
253 inline void SetColorFor24Bit( const BitmapColor& rColor, HPBYTE pPixel ) const;
255 inline void GetColorFor32Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const;
256 …inline void GetColorAndAlphaFor32Bit( BitmapColor& rColor, sal_uInt8& rAlpha, ConstHPBYTE pPixel…
257 inline void SetColorFor32Bit( const BitmapColor& rColor, HPBYTE pPixel ) const;
289 inline BitmapColor::BitmapColor() : in BitmapColor() function in BitmapColor
299 inline BitmapColor::BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue ) : in BitmapColor() function in BitmapColor
309 inline BitmapColor::BitmapColor( const BitmapColor& rBitmapColor ) : in BitmapColor() function in BitmapColor
319 inline BitmapColor::BitmapColor( const Color& rColor ) : in BitmapColor() function in BitmapColor
329 inline BitmapColor::BitmapColor( sal_uInt8 cIndex ) : in BitmapColor() function in BitmapColor
339 inline sal_Bool BitmapColor::operator==( const BitmapColor& rBitmapColor ) const in operator ==()
348 inline sal_Bool BitmapColor::operator!=( const BitmapColor& rBitmapColor ) const in operator !=()
355 inline BitmapColor& BitmapColor::operator=( const BitmapColor& rBitmapColor ) in operator =()
367 inline sal_Bool BitmapColor::IsIndex() const in IsIndex()
374 inline sal_uInt8 BitmapColor::GetRed() const in GetRed()
382 inline void BitmapColor::SetRed( sal_uInt8 cRed ) in SetRed()
390 inline sal_uInt8 BitmapColor::GetGreen() const in GetGreen()
398 inline void BitmapColor::SetGreen( sal_uInt8 cGreen ) in SetGreen()
406 inline sal_uInt8 BitmapColor::GetBlue() const in GetBlue()
414 inline void BitmapColor::SetBlue( sal_uInt8 cBlue ) in SetBlue()
422 inline sal_uInt8 BitmapColor::GetIndex() const in GetIndex()
430 inline void BitmapColor::SetIndex( sal_uInt8 cIndex ) in SetIndex()
438 inline BitmapColor::operator Color() const in operator Color()
446 inline sal_uInt8 BitmapColor::GetBlueOrIndex() const in GetBlueOrIndex()
454 inline BitmapColor& BitmapColor::Invert() in Invert()
464 inline sal_uInt8 BitmapColor::GetLuminance() const in GetLuminance()
472 inline BitmapColor& BitmapColor::IncreaseLuminance( sal_uInt8 cGreyInc ) in IncreaseLuminance()
484 inline BitmapColor& BitmapColor::DecreaseLuminance( sal_uInt8 cGreyDec ) in DecreaseLuminance()
496 inline BitmapColor& BitmapColor::Merge( const BitmapColor& rBitmapColor, sal_uInt8 cTransparency ) in Merge()
509 inline BitmapColor& BitmapColor::Merge( sal_uInt8 cR, sal_uInt8 cG, sal_uInt8 cB, sal_uInt8 cTransp… in Merge()
521 inline sal_uLong BitmapColor::GetColorError( const BitmapColor& rBitmapColor ) const in GetColorError()
545 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in BitmapPalette()
546 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in BitmapPalette()
560 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in BitmapPalette()
561 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in BitmapPalette()
584 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in operator =()
585 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in operator =()
650 const sal_uLong nNewSize = nCount * sizeof( BitmapColor ); in SetEntryCount()
651 const sal_uLong nMinSize = Min( mnCount, nCount ) * sizeof( BitmapColor ); in SetEntryCount()
658 mpBitmapColor = (BitmapColor*) pNewColor; in SetEntryCount()
665 inline const BitmapColor& BitmapPalette::operator[]( sal_uInt16 nIndex ) const in operator []()
673 inline BitmapColor& BitmapPalette::operator[]( sal_uInt16 nIndex ) in operator []()
682 inline BitmapColor* BitmapPalette::ImplGetColorBuffer() const in ImplGetColorBuffer()
690 inline sal_uInt16 BitmapPalette::GetBestIndex( const BitmapColor& rCol ) const in GetBestIndex()
783 inline void ColorMask::GetColorFor8Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const in GetColorFor8Bit()
791 inline void ColorMask::SetColorFor8Bit( const BitmapColor& rColor, HPBYTE pPixel ) const in SetColorFor8Bit()
798 inline void ColorMask::GetColorFor16BitMSB( BitmapColor& rColor, ConstHPBYTE pPixel ) const in GetColorFor16BitMSB()
811 inline void ColorMask::SetColorFor16BitMSB( const BitmapColor& rColor, HPBYTE pPixel ) const in SetColorFor16BitMSB()
825 inline void ColorMask::GetColorFor16BitLSB( BitmapColor& rColor, ConstHPBYTE pPixel ) const in GetColorFor16BitLSB()
838 inline void ColorMask::SetColorFor16BitLSB( const BitmapColor& rColor, HPBYTE pPixel ) const in SetColorFor16BitLSB()
853 inline void ColorMask::GetColorFor24Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const in GetColorFor24Bit()
861 inline void ColorMask::SetColorFor24Bit( const BitmapColor& rColor, HPBYTE pPixel ) const in SetColorFor24Bit()
869 inline void ColorMask::GetColorFor32Bit( BitmapColor& rColor, ConstHPBYTE pPixel ) const in GetColorFor32Bit()
883 inline void ColorMask::GetColorAndAlphaFor32Bit( BitmapColor& rColor, sal_uInt8& rAlpha, ConstHPBYT… in GetColorAndAlphaFor32Bit()
898 inline void ColorMask::SetColorFor32Bit( const BitmapColor& rColor, HPBYTE pPixel ) const in SetColorFor32Bit()