|
||
class CPolygonFiller : public CBase;
CBase
-
Base class for all classes to be instantiated on the heap.
CPolygonFiller
- (No abstract)
Defined in CPolygonFiller
:
CPolygonFiller()
Constructor which initializes all member data to zero, EFalse or null for TInt, ...EGetAllPixelRunsSequentially
A request for all pixel runs in sequential orderEGetPixelRunsSequentiallyForSpecifiedScanLines
A request for all pixel runs in sequential order but only for specified lines.GetNextPixelRun(TBool &,TInt &,TInt &,TInt &)
Method is used to calculate the locations of vertex interactions between the pol...GetNextPixelRunOnSpecifiedScanLine(TBool &,TInt,TInt &,TInt &)
Similar to GetNextPixelRun(aExists, aScanLine, aStart, aEnd) this method is used...Reset()
Frees any data held in the polygons lists of all edges, vertexs and scan lines a...TUsage
Describes how pixels are to be displayed in the polygon. aUsage should be select...~CPolygonFiller()
Destructor calls reset on the polygon. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C CPolygonFiller();
Constructor which initializes all member data to zero, EFalse or null for TInt, TBool pointers respectively.
IMPORT_C void Construct(const CArrayFix< TPoint > *aPointArray, CGraphicsContext::TFillRule aFillRule, TUsage aUsage=EGetAllPixelRunsSequentially);
An overloaded version of Construct which allows the list of points to be passed in as a point array. Exactly the same behaviour and structure as above. This should not fail. This method does not require the number of nodes to be given as a parameter.
|
IMPORT_C void Construct(const TPoint *aPointList, TInt aNumPoints, CGraphicsContext::TFillRule aFillRule, TUsage aUsage=EGetAllPixelRunsSequentially);
Takes a list of points to be the points for the new polygon and sets the number of points in the shape. After this has been
done it transfers the task to Construct(aFillRule,aUsage)
. This should not fail.
|
IMPORT_C void Reset();
Frees any data held in the polygons lists of all edges, vertexs and scan lines and sets these values to NULL. It also has the feature of setting iUseFastAlgorithm = EFalse.
IMPORT_C void GetNextPixelRun(TBool &aExists, TInt &aScanLine, TInt &aStart, TInt &aEnd);
Method is used to calculate the locations of vertex interactions between the polygon and scan lines. An initial scan line is required. It calculates the start and end positions on the line. The method can use either the fast or slow polygon algorithm depending upon the state of aUsage. Polygon filling is also addressed by this method.
|
IMPORT_C void GetNextPixelRunOnSpecifiedScanLine(TBool &aExists, TInt aScanLine, TInt &aStart, TInt &aEnd);
Similar to GetNextPixelRun(aExists, aScanLine, aStart, aEnd) this method is used to draw the relevant vertex intersections for a polygon but only for an individual specified scan line. The method can use either the fast or slow polygon algorithm depending upon the state of aUsage.
|
TUsage
Describes how pixels are to be displayed in the polygon. aUsage should be select to one of these values before CPolygonFiller::Construct(const CArrayFix< TPoint > *,CGraphicsContext::TFillRule,TUsage)
is used.
|