LibreOffice Module vcl (master) 1
|
#include <ColorMask.hxx>
Public Member Functions | |
ColorMask (const ColorMaskElement &rRedMask=ColorMaskElement(), const ColorMaskElement &rGreenMask=ColorMaskElement(), const ColorMaskElement &rBlueMask=ColorMaskElement()) | |
sal_uInt32 | GetRedMask () const |
sal_uInt32 | GetGreenMask () const |
sal_uInt32 | GetBlueMask () const |
void | GetColorFor16BitMSB (BitmapColor &rColor, const sal_uInt8 *pPixel) const |
void | SetColorFor16BitMSB (const BitmapColor &rColor, sal_uInt8 *pPixel) const |
void | GetColorFor16BitLSB (BitmapColor &rColor, const sal_uInt8 *pPixel) const |
void | SetColorFor16BitLSB (const BitmapColor &rColor, sal_uInt8 *pPixel) const |
void | GetColorFor32Bit (BitmapColor &rColor, const sal_uInt8 *pPixel) const |
void | GetColorAndAlphaFor32Bit (BitmapColor &rColor, sal_uInt8 &rAlpha, const sal_uInt8 *pPixel) const |
void | SetColorFor32Bit (const BitmapColor &rColor, sal_uInt8 *pPixel) const |
Private Attributes | |
ColorMaskElement | maR |
ColorMaskElement | maG |
ColorMaskElement | maB |
Definition at line 89 of file ColorMask.hxx.
|
inline |
Definition at line 97 of file ColorMask.hxx.
|
inline |
Definition at line 130 of file ColorMask.hxx.
References maB, and ColorMaskElement::mnMask.
Referenced by vcl::unotools::VclCanvasBitmap::VclCanvasBitmap().
|
inline |
Definition at line 173 of file ColorMask.hxx.
References maB, maG, maR, MASK_TO_COLOR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
|
inline |
Definition at line 150 of file ColorMask.hxx.
References maB, maG, maR, MASK_TO_COLOR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
|
inline |
Definition at line 135 of file ColorMask.hxx.
References maB, maG, maR, MASK_TO_COLOR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
|
inline |
Definition at line 165 of file ColorMask.hxx.
References maB, maG, maR, MASK_TO_COLOR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
Referenced by BitmapReadAccess::GetPixelForN32BitTcMask().
|
inline |
Definition at line 125 of file ColorMask.hxx.
References maG, and ColorMaskElement::mnMask.
Referenced by vcl::unotools::VclCanvasBitmap::VclCanvasBitmap().
|
inline |
Definition at line 120 of file ColorMask.hxx.
References maR, and ColorMaskElement::mnMask.
Referenced by vcl::unotools::VclCanvasBitmap::VclCanvasBitmap().
|
inline |
Definition at line 157 of file ColorMask.hxx.
References COLOR_TO_MASK, maB, maG, maR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
|
inline |
Definition at line 142 of file ColorMask.hxx.
References COLOR_TO_MASK, maB, maG, maR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
|
inline |
Definition at line 182 of file ColorMask.hxx.
References COLOR_TO_MASK, maB, maG, maR, ColorMaskElement::mnMask, and ColorMaskElement::mnShift.
Referenced by BitmapReadAccess::SetPixelForN32BitTcMask().
|
private |
Definition at line 93 of file ColorMask.hxx.
Referenced by GetBlueMask(), GetColorAndAlphaFor32Bit(), GetColorFor16BitLSB(), GetColorFor16BitMSB(), GetColorFor32Bit(), SetColorFor16BitLSB(), SetColorFor16BitMSB(), and SetColorFor32Bit().
|
private |
Definition at line 92 of file ColorMask.hxx.
Referenced by GetColorAndAlphaFor32Bit(), GetColorFor16BitLSB(), GetColorFor16BitMSB(), GetColorFor32Bit(), GetGreenMask(), SetColorFor16BitLSB(), SetColorFor16BitMSB(), and SetColorFor32Bit().
|
private |
Definition at line 91 of file ColorMask.hxx.
Referenced by GetColorAndAlphaFor32Bit(), GetColorFor16BitLSB(), GetColorFor16BitMSB(), GetColorFor32Bit(), GetRedMask(), SetColorFor16BitLSB(), SetColorFor16BitMSB(), and SetColorFor32Bit().