#include <VectorGraphic.h>
Public Member Functions | |
| VectorGraphic (PolygonWrapper **aPolygons, PaintWrapper **aColors, RENDERER_FILLMODE *aFillModes, int aPolygonCount) | |
| Constructor. | |
| ~VectorGraphic () | |
| Destructor. | |
| int | getPolygonCount () |
| Returns the polygon count of the graphic. | |
| const PolygonWrapper * | getPolygon (int aIndex) |
| Returns the polygon at given index. | |
| const PaintWrapper * | getColor (int aIndex) |
| Returns the color at given index. | |
| RENDERER_FILLMODE | getFillMode (int aIndex) |
| Returns the fill mode at given index. | |
| void | render (Renderer *aRenderer, RenderTargetWrapper *aTarget, const MATRIX2D &aTransformation) |
| Renders the vector graphic with given renderer. | |
Static Public Member Functions | |
| static VectorGraphic * | create (const PolygonData *const *aPolygons, const unsigned long *aColors, const RENDERER_FILLMODE *aFillModes, int aPolygonCount, PolygonFactory *aFactory) |
| Static method for creating the vector graphic from data. | |
Protected Attributes | |
| int | mPolygonCount |
| PolygonWrapper ** | mPolygons |
| PaintWrapper ** | mColors |
| RENDERER_FILLMODE * | mFillModes |
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||||||
|
Static method for creating the vector graphic from data.
|
|
|
Returns the color at given index.
|
|
|
Returns the fill mode at given index.
|
|
|
Returns the polygon at given index.
|
|
|
Returns the polygon count of the graphic.
|
|
||||||||||||||||
|
Renders the vector graphic with given renderer. /param aRenderer the class to use for rendering. /param aTarget the render target. /param aTransformation the transformation to use in the rendering. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO