|
Public Member Functions |
| PolygonVersionD () |
| Constructor.
|
bool | init (unsigned int aWidth, unsigned int aHeight) |
| Initializer.
|
virtual | ~PolygonVersionD () |
| Virtual destructor.
|
virtual void | renderEvenOdd (BitmapData *aTarget, const Polygon *aPolygon, unsigned long aColor, const MATRIX2D &aTransformation) |
| Renders the polygon with even-odd fill.
|
virtual void | renderNonZeroWinding (BitmapData *aTarget, const Polygon *aPolygon, unsigned long aColor, const MATRIX2D &aTransformation) |
| Renders the polygon with non-zero winding fill.
|
virtual void | setClipRect (unsigned int aX, unsigned int aY, unsigned int aWidth, unsigned int aHeight) |
| Sets the clip rectangle for the polygon filler.
|
Protected Member Functions |
bool | isSupported (BitmapData::BitmapFormat aFormat) |
| Checks if a surface format is supported.
|
void | addEvenOddEdge (const PolygonEdge &aEdge) |
| Adds an edge to be used with even-odd fill.
|
void | fillEvenOdd (BitmapData *aTarget, unsigned long aColor) |
| Renders the mask to the canvas with even-odd fill.
|
void | addNonZeroEdge (const PolygonEdge &aEdge) |
| Adds an edge to be used with non-zero winding fill.
|
void | fillNonZero (BitmapData *aTarget, unsigned long aColor, const ClipRectangle &aClipRect) |
| Renders the mask to the canvas with non-zero winding fill.
|
void | resetExtents () |
| Resets the fill extents.
|
Protected Attributes |
SUBPIXEL_DATA * | mMaskBuffer |
NonZeroMask * | mWindingBuffer |
SpanExtents * | mEdgeExtents |
SpanExtents | mVerticalExtents |
unsigned int | mWidth |
unsigned int | mBufferWidth |
unsigned int | mHeight |
ClipRectangle | mClipRect |
MATRIX2D | mRemappingMatrix |