SVGDocument Class Reference

A command representing a document in SVG command tree. More...

#include <SVG.h>

Inheritance diagram for SVGDocument:

SVGCommandSet SVGCommand List of all members.

Public Member Functions

 SVGDocument ()
 Constructor.
void setTransformation (const MATRIX2D &aMatrix)
 Sets the root level transformation for the SVG document.
virtual bool execute (SVGContext *aContext)
 Executes the command, i.e. applies it to the context.

Static Public Member Functions

static SVGDocumentload (const char *aFileName)
 Loads the SVG document from a file.

Static Protected Member Functions

static bool createTree (class TiXmlElement *aElement, SVGCommandSet *aSet)
 Creates the SVG tree from the XML DOM.
static SVGCommandcreatePath (const char *aFill, const char *aFillOpacity, const char *aFillRule, const char *aPath)
 Creates a path command set from strings.

Protected Attributes

MATRIX2D mMatrix

Detailed Description

A command representing a document in SVG command tree.


Constructor & Destructor Documentation

SVGDocument::SVGDocument  ) 
 

Constructor.


Member Function Documentation

SVGCommand * SVGDocument::createPath const char *  aFill,
const char *  aFillOpacity,
const char *  aFillRule,
const char *  aPath
[static, protected]
 

Creates a path command set from strings.

bool SVGDocument::createTree class TiXmlElement *  aElement,
SVGCommandSet aSet
[static, protected]
 

Creates the SVG tree from the XML DOM.

bool SVGDocument::execute SVGContext aContext  )  [virtual]
 

Executes the command, i.e. applies it to the context.

Reimplemented from SVGCommandSet.

SVGDocument * SVGDocument::load const char *  aFileName  )  [static]
 

Loads the SVG document from a file.

void SVGDocument::setTransformation const MATRIX2D &  aMatrix  ) 
 

Sets the root level transformation for the SVG document.


Member Data Documentation

MATRIX2D SVGDocument::mMatrix [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 3 00:44:42 2007 for Scanline edge-flag algorithm for antialiasing by  doxygen 1.4.6-NO