ShapeMaker::ShapeData Class Reference

Inner class for handling the path data as a set of polygons. More...

#include <ShapeMaker.h>

List of all members.

Public Member Functions

 ShapeData ()
 Constructor.
 ~ShapeData ()
 Destructor.
bool beginPolygon (unsigned long aColor, RENDERER_FILLMODE aFillMode)
 Begins a new polygon.
bool endPolygon ()
 Ends the polygon.
bool beginSubPolygon ()
 Starts a new sub polygon.
bool endSubPolygon ()
 Ends the sub polygon.
bool addVertex (const VECTOR2D &aVertex)
 Adds a vertex to current sub polygon.
const PolygonData *const * getPolygons () const
 Returns a pointer to the polygon data.
const unsigned long * getColors () const
 Returns a pointer to the color data.
const RENDERER_FILLMODE * getFillModes () const
 Returns a pointer to the fill mode data.
int getPolygonCount () const
 Returns the polygon count.

Protected Attributes

ShapeEntry ** mShapes
PolygonData ** mPolygons
unsigned long * mColors
RENDERER_FILLMODE * mFillModes
int mPolygonCount

Classes

class  ShapeEntry
 Inner class for handling a single polygon in the ShapeData. More...


Detailed Description

Inner class for handling the path data as a set of polygons.


Constructor & Destructor Documentation

ShapeMaker::ShapeData::ShapeData  ) 
 

Constructor.

ShapeMaker::ShapeData::~ShapeData  ) 
 

Destructor.


Member Function Documentation

bool ShapeMaker::ShapeData::addVertex const VECTOR2D &  aVertex  ) 
 

Adds a vertex to current sub polygon.

bool ShapeMaker::ShapeData::beginPolygon unsigned long  aColor,
RENDERER_FILLMODE  aFillMode
 

Begins a new polygon.

bool ShapeMaker::ShapeData::beginSubPolygon  ) 
 

Starts a new sub polygon.

bool ShapeMaker::ShapeData::endPolygon  ) 
 

Ends the polygon.

bool ShapeMaker::ShapeData::endSubPolygon  ) 
 

Ends the sub polygon.

const unsigned long * ShapeMaker::ShapeData::getColors  )  const
 

Returns a pointer to the color data.

const RENDERER_FILLMODE * ShapeMaker::ShapeData::getFillModes  )  const
 

Returns a pointer to the fill mode data.

int ShapeMaker::ShapeData::getPolygonCount  )  const
 

Returns the polygon count.

const PolygonData *const * ShapeMaker::ShapeData::getPolygons  )  const
 

Returns a pointer to the polygon data.


Member Data Documentation

unsigned long* ShapeMaker::ShapeData::mColors [protected]
 

RENDERER_FILLMODE* ShapeMaker::ShapeData::mFillModes [protected]
 

int ShapeMaker::ShapeData::mPolygonCount [protected]
 

PolygonData** ShapeMaker::ShapeData::mPolygons [protected]
 

ShapeEntry** ShapeMaker::ShapeData::mShapes [protected]
 


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