LibreOffice Module basegfx (master) 1
|
#include <bpixel.hxx>
Public Member Functions | |
BPixel () | |
BPixel (sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue, sal_uInt8 nAlpha) | |
BPixel (const BColor &rColor, sal_uInt8 nAlpha) | |
sal_uInt8 | getRed () const |
sal_uInt8 | getGreen () const |
sal_uInt8 | getBlue () const |
sal_uInt8 | getAlpha () const |
void | setRed (sal_uInt8 nNew) |
void | setGreen (sal_uInt8 nNew) |
void | setBlue (sal_uInt8 nNew) |
void | setAlpha (sal_uInt8 nNew) |
bool | operator== (const BPixel &rPixel) const |
bool | operator!= (const BPixel &rPixel) const |
Private Attributes | |
union { | |
struct { | |
unsigned mnR: 8 | |
unsigned mnG: 8 | |
unsigned mnB: 8 | |
unsigned mnA: 8 | |
} maRGBA | |
struct { | |
unsigned mnValue: 32 | |
} maCombinedRGBA | |
} | maPixelUnion |
Definition at line 27 of file bpixel.hxx.
|
inline |
Definition at line 46 of file bpixel.hxx.
References maPixelUnion.
|
inlineexplicit |
Definition at line 53 of file bpixel.hxx.
References maPixelUnion.
Definition at line 63 of file bpixel.hxx.
References basegfx::BColor::getBlue(), basegfx::BColor::getGreen(), basegfx::BColor::getRed(), and maPixelUnion.
|
inline |
Definition at line 75 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 74 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 73 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 72 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 89 of file bpixel.hxx.
References maCombinedRGBA, maPixelUnion, and mnValue.
|
inline |
Definition at line 84 of file bpixel.hxx.
References maCombinedRGBA, maPixelUnion, and mnValue.
|
inline |
Definition at line 81 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 80 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 79 of file bpixel.hxx.
References maPixelUnion.
|
inline |
Definition at line 78 of file bpixel.hxx.
References maPixelUnion.
struct { ... } basegfx::BPixel::maCombinedRGBA |
Referenced by operator!=(), and operator==().
union { ... } basegfx::BPixel::maPixelUnion |
Referenced by BPixel(), getAlpha(), getBlue(), getGreen(), getRed(), operator!=(), operator==(), setAlpha(), setBlue(), setGreen(), and setRed().
struct { ... } basegfx::BPixel::maRGBA |
unsigned basegfx::BPixel::mnA |
Definition at line 36 of file bpixel.hxx.
unsigned basegfx::BPixel::mnB |
Definition at line 35 of file bpixel.hxx.
unsigned basegfx::BPixel::mnG |
Definition at line 34 of file bpixel.hxx.
unsigned basegfx::BPixel::mnR |
Definition at line 33 of file bpixel.hxx.
unsigned basegfx::BPixel::mnValue |
Definition at line 41 of file bpixel.hxx.
Referenced by operator!=(), and operator==().