Definition at line 32 of file CPen.hpp.
Exponent::GUI::Graphics::CPen::CPen | ( | ) |
Construction
virtual Exponent::GUI::Graphics::CPen::~CPen | ( | ) | [virtual] |
Destruction
virtual void Exponent::GUI::Graphics::CPen::createPen | ( | ) | [protected, virtual] |
Create the pen
virtual void Exponent::GUI::Graphics::CPen::deletePen | ( | ) | [protected, virtual] |
Delete the pen
const CAlphaColour& Exponent::GUI::Graphics::CPen::getColour | ( | ) | const [inline] |
Get hte colour of the pen
const | CAlphaColour& The pen colour |
Definition at line 129 of file CPen.hpp.
References m_colour.
Referenced by Exponent::GUI::Graphics::CGraphics::drawAAPixelIncreasingX(), and Exponent::GUI::Graphics::CGraphics::drawAAPixelIncreasingY().
CGContextRef Exponent::GUI::Graphics::CPen::getContextRef | ( | ) | const [inline] |
Get the draw context
CGContextRef | The mac context |
Definition at line 92 of file CPen.hpp.
References m_drawContext.
const HPEN Exponent::GUI::Graphics::CPen::getPen | ( | ) | const [inline] |
const HDC Exponent::GUI::Graphics::CPen::getPenHdc | ( | ) | const [inline] |
long Exponent::GUI::Graphics::CPen::getWidth | ( | ) | const [inline] |
void Exponent::GUI::Graphics::CPen::initialise | ( | CGContextRef | drawContext, | |
long | size, | |||
const CAlphaColour & | colour | |||
) |
Initialise
size | The width in pixels | |
drawContext | The mac drawing context | |
colour | The colour you want to use for the pen |
void Exponent::GUI::Graphics::CPen::initialise | ( | const long | width, | |
HDC | drawContext, | |||
const CAlphaColour & | colour | |||
) |
Initialise
width | The width in pixels | |
drawContext | The windows drawing context | |
colour | The colour you want to use for the pen |
void Exponent::GUI::Graphics::CPen::setColour | ( | const CAlphaColour & | colour | ) |
Set the colour
colour | The colour you want to use for the pen |
Referenced by Exponent::GUI::Graphics::CGraphics::drawAAPixelIncreasingX(), and Exponent::GUI::Graphics::CGraphics::drawAAPixelIncreasingY().
void Exponent::GUI::Graphics::CPen::setPen | ( | const long | width, | |
const CAlphaColour & | colour | |||
) |
Set the pen
width | The width in pixels | |
colour | The colour you want to use for the pen |
void Exponent::GUI::Graphics::CPen::setPenToNullPen | ( | ) |
Set the pen to the null pen (draws transparent)
void Exponent::GUI::Graphics::CPen::setWidth | ( | const long | width | ) |
Set the width
width | The width in pixels |
void Exponent::GUI::Graphics::CPen::uninitialise | ( | ) |
Deinitialise
CAlphaColour Exponent::GUI::Graphics::CPen::m_colour [protected] |
CGContextRef Exponent::GUI::Graphics::CPen::m_drawContext [protected] |
HDC Exponent::GUI::Graphics::CPen::m_hdc [protected] |
HGDIOBJ Exponent::GUI::Graphics::CPen::m_hOld [protected] |
HPEN Exponent::GUI::Graphics::CPen::m_pen [protected] |
long Exponent::GUI::Graphics::CPen::m_width [protected] |