|
Public Member Functions |
| | PolygonVersionF () |
| | Constructor.
|
| bool | init (unsigned int aWidth, unsigned int aHeight, unsigned int aEdgeCount) |
| | Initializer.
|
| virtual | ~PolygonVersionF () |
| | 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.
|
| bool | addEdge (const PolygonEdge &aEdge) |
| | Adds an edge.
|
| void | renderEvenOddEdges (PolygonScanEdge *&aActiveEdgeTable, SpanExtents &aEdgeExtents, int aCurrentLine) |
| | Renders the edges from the current vertical index using even-odd fill.
|
| void | fillEvenOdd (BitmapData *aTarget, unsigned long aColor) |
| | Renders the mask to the canvas with even-odd fill.
|
| void | renderNonZeroEdges (PolygonScanEdge *&aActiveEdgeTable, SpanExtents &aEdgeExtents, int aCurrentLine) |
| | Renders the edges from the current vertical index using 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.
|
| bool | resizeEdgeStorage (int aIncrement) |
| | Resizes the edge storage.
|
| int | getFreeEdgeCount () |
| | Returns the amount of free edges in the edge storage.
|
Protected Attributes |
| SUBPIXEL_DATA * | mMaskBuffer |
| NonZeroMask * | mWindingBuffer |
| SpanExtents | mVerticalExtents |
| PolygonScanEdge ** | mEdgeTable |
| PolygonScanEdge * | mEdgeStorage |
| unsigned int | mEdgeCount |
| unsigned int | mCurrentEdge |
| unsigned int | mWidth |
| unsigned int | mBufferWidth |
| unsigned int | mHeight |
| ClipRectangle | mClipRect |
| MATRIX2D | mRemappingMatrix |