Clients must implement this if they want to draw.
More...
#include <drawer.h>
List of all members.
Detailed Description
Clients must implement this if they want to draw.
The vgfx library is incapable of drawing! It handles all of the logical details of a vector graphics canvas, but relies on someone else for the actual drawing (if any).
This interface is declared so that software layers built on top of vgfx can declare and implement their own bindings to specific rendering technologies.
Definition at line 73 of file vgfx/drawer.h.
Constructor & Destructor Documentation
vgfx::Drawer::~Drawer |
( |
void |
|
) |
throw () [virtual] |
Member Function Documentation
virtual void vgfx::Drawer::pushBrush |
( |
IN dword_t |
key |
) |
[pure virtual] |
virtual void vgfx::Drawer::popBrush |
( |
IN dword_t |
key |
) |
throw () [pure virtual] |
virtual void vgfx::Drawer::endPath |
( |
void |
|
) |
[pure virtual] |
virtual void vgfx::Drawer::refreshBrush |
( |
void |
|
) |
[pure virtual] |
virtual void vgfx::Drawer::setTransform |
( |
IN const xform_2d_t & |
T |
) |
throw () [pure virtual] |
virtual void vgfx::Drawer::setBrushAttribute |
( |
IN eBrushAttribute |
attribute, |
|
|
IN const char * |
value | |
|
) |
| | [pure virtual] |
virtual void vgfx::Drawer::setClipRect |
( |
IN float |
left, |
|
|
IN float |
top, |
|
|
IN float |
right, |
|
|
IN float |
bottom | |
|
) |
| | [pure virtual] |
virtual void vgfx::Drawer::drawBezier |
( |
IN const bezier::curve_t & |
curve |
) |
[pure virtual] |
virtual void vgfx::Drawer::drawLine |
( |
IN const point_t & |
p0, |
|
|
IN const point_t & |
p1 | |
|
) |
| | [pure virtual] |
virtual void vgfx::Drawer::drawRect |
( |
IN const rect_t & |
r |
) |
[pure virtual] |
virtual void vgfx::Drawer::fillRect |
( |
IN const rect_t & |
r |
) |
[pure virtual] |
virtual void vgfx::Drawer::drawText |
( |
IN const rect_t & |
r, |
|
|
IN const char * |
text | |
|
) |
| | [pure virtual] |
virtual void vgfx::Drawer::getBoundingRect |
( |
IN const char * |
text, |
|
|
OUT rect_t & |
r | |
|
) |
| | [pure virtual] |
virtual void vgfx::Drawer::getRootTransform |
( |
OUT xform_2d_t & |
T |
) |
throw () [pure virtual] |
virtual bool vgfx::Drawer::isPrinter |
( |
void |
|
) |
const throw () [pure virtual] |
The documentation for this class was generated from the following files: