#include <SVG.h>
Public Member Functions | |
SVGContext (ShapeMaker *aShapeMaker) | |
Constructor. | |
bool | init (int aStackSize, int aStackIncrement) |
Initializer. | |
void | reset () |
Resets the state of the context. | |
bool | pushState () |
Pushes the state of the context to the stack. | |
bool | popState () |
Pops the state of the context from the stack. | |
void | setCurrentTransformation (const MATRIX2D &aTransformation) |
Sets the current transformation in the context. | |
void | setCurrentColor (unsigned int aColor) |
Sets the current color. | |
void | setCurrentOpacity (RATIONAL aOpacity) |
Sets the current opacity. | |
void | setCurrentFillRule (RENDERER_FILLMODE aFillRule) |
Sets the current fill rule. | |
void | setFillOff () |
Sets the fill off. | |
const MATRIX2D & | getCurrentTransformation () |
Returns the current transformation. | |
unsigned int | getCurrentColor () |
Returns the current color. | |
RATIONAL | getCurrentOpacity () |
Returns the current opacity. | |
RENDERER_FILLMODE | getCurrentFillRule () |
Returns the current fill rule. | |
bool | isFillOff () |
Returns true if fill is off. | |
ShapeMaker * | getShapeMaker () |
Returns a pointer to the shape maker. | |
Protected Attributes | |
MATRIX2D | mCurrentTransformation |
SVGPaint | mCurrentPaint |
RENDERER_FILLMODE | mCurrentFillRule |
ShapeMaker * | mShapeMaker |
SVGStack | mStack |
|
Constructor.
|
|
Returns the current color.
|
|
Returns the current fill rule.
|
|
Returns the current opacity.
|
|
Returns the current transformation.
|
|
Returns a pointer to the shape maker.
|
|
Initializer.
|
|
Returns true if fill is off.
|
|
Pops the state of the context from the stack.
|
|
Pushes the state of the context to the stack.
|
|
Resets the state of the context.
|
|
Sets the current color.
|
|
Sets the current fill rule.
|
|
Sets the current opacity.
|
|
Sets the current transformation in the context.
|
|
Sets the fill off.
|
|
|
|
|
|
|
|
|
|
|