SVGColorCommand Class Reference

A color definition command in SVG command tree. More...

#include <SVG.h>

Inheritance diagram for SVGColorCommand:

SVGCommand List of all members.

Public Member Functions

 SVGColorCommand ()
 Constructor. (Paint set to none.).
 SVGColorCommand (unsigned int aColor)
 Constructor. (Paint set to given color.).
virtual bool execute (SVGContext *aContext)
 Executes the command, i.e. applies it to the context.

Static Public Member Functions

static SVGCommandbuild (const char *aColor)
 Builds a color command from the given string.

Protected Attributes

unsigned int mColor
bool mNone

Detailed Description

A color definition command in SVG command tree.


Constructor & Destructor Documentation

SVGColorCommand::SVGColorCommand  ) 
 

Constructor. (Paint set to none.).

SVGColorCommand::SVGColorCommand unsigned int  aColor  ) 
 

Constructor. (Paint set to given color.).


Member Function Documentation

SVGCommand * SVGColorCommand::build const char *  aColor  )  [static]
 

Builds a color command from the given string.

bool SVGColorCommand::execute SVGContext aContext  )  [virtual]
 

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

Implements SVGCommand.


Member Data Documentation

unsigned int SVGColorCommand::mColor [protected]
 

bool SVGColorCommand::mNone [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