|
Public Member Functions |
| PolygonVersionA () |
| Constructor.
|
bool | init (unsigned int aWidth, unsigned int aHeight) |
| Initializer.
|
virtual | ~PolygonVersionA () |
| 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, const ClipRectangle &aClipRect) |
| 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.
|
Protected Attributes |
SUBPIXEL_DATA * | mMaskBuffer |
NON_ZERO_MASK_DATA_UNIT * | mWindingBuffer |
unsigned int | mWidth |
unsigned int | mBufferWidth |
unsigned int | mHeight |
ClipRectangle | mClipRect |
MATRIX2D | mRemappingMatrix |