Definition at line 32 of file CBrush.hpp.
Exponent::GUI::Graphics::CBrush::CBrush | ( | ) |
Construction
virtual Exponent::GUI::Graphics::CBrush::~CBrush | ( | ) | [virtual] |
Destruction
void Exponent::GUI::Graphics::CBrush::createBrush | ( | ) | [protected] |
Create the brush
void Exponent::GUI::Graphics::CBrush::deleteBrush | ( | ) | [protected] |
Delete the brush
const HBRUSH Exponent::GUI::Graphics::CBrush::getBrush | ( | ) | const [inline] |
Get the brush itself
const | HBRUSH The window brush |
Definition at line 86 of file CBrush.hpp.
References m_brush.
const HDC Exponent::GUI::Graphics::CBrush::getBrushHdc | ( | ) | const [inline] |
Get the associated dc
const | HDC The brush context |
Definition at line 74 of file CBrush.hpp.
References m_hdc.
const CAlphaColour& Exponent::GUI::Graphics::CBrush::getColour | ( | ) | const [inline] |
Get hte colour
const | CAlphaColour& The current colour |
Definition at line 118 of file CBrush.hpp.
References m_colour.
CGContextRef Exponent::GUI::Graphics::CBrush::getContextRef | ( | ) | const [inline] |
Get the draw context
CGContextRef | The mac context |
Definition at line 101 of file CBrush.hpp.
References m_drawContext.
HDC Exponent::GUI::Graphics::CBrush::getMutableBrushHdc | ( | ) | [inline] |
Get a mutable reference to the hdc
HDC | The brush hdc |
Definition at line 80 of file CBrush.hpp.
References m_hdc.
void Exponent::GUI::Graphics::CBrush::initialise | ( | CGContextRef | drawContext, | |
const CAlphaColour & | colour | |||
) |
Initialise
drawContext | The mac draw context | |
colour | The colour to use |
void Exponent::GUI::Graphics::CBrush::initialise | ( | HDC | hdc, | |
const CAlphaColour & | colour | |||
) |
Initialise
hdc | The windowss draw context | |
colour | The colour to use |
void Exponent::GUI::Graphics::CBrush::setColour | ( | const CAlphaColour & | colour | ) |
Set the colour from an alpha colour
colour | The colour to use |
void Exponent::GUI::Graphics::CBrush::setColourToNullBrush | ( | ) |
Set the colour to be transparent
void Exponent::GUI::Graphics::CBrush::uninitialise | ( | ) |
Deinitialise
HBRUSH Exponent::GUI::Graphics::CBrush::m_brush [protected] |
CGContextRef Exponent::GUI::Graphics::CBrush::m_drawContext [protected] |
HDC Exponent::GUI::Graphics::CBrush::m_hdc [protected] |
Host drawing context
Definition at line 141 of file CBrush.hpp.
Referenced by getBrushHdc(), and getMutableBrushHdc().
HGDIOBJ Exponent::GUI::Graphics::CBrush::m_hOld [protected] |
Old windows brush object
Definition at line 142 of file CBrush.hpp.