TGopFilledPolygon Class Reference
class TGopFilledPolygon : public TGraphicsOperation |
Constructor & Destructor Documentation
TGopFilledPolygon(TRgb, CGraphicsContext::TFillRule)
Constructor with a fill rule and a fill colour. The number of points is initialised to zero.
Member Functions Documentation
AddPoints(TInt, TPoint *)
void | AddPoints | ( | TInt | aNumPoints, |
| TPoint * | aPoints |
| ) | [inline] |
Specifies the polygon to be filled as a number of 2D point coordinates.
AddPoints() should only be called once the TGopFilledPolygon object has been stored into a buffer. There must be enough room in the buffer after the TGopFilledPolygon object to hold aNumPoints TPoint sized structures. This is because the points are copied into the memory space directly following the TGopFilledPolygon object.
Parameters
TInt aNumPoints | The number of points in the polygon. |
TPoint * aPoints | Pointer to the first point in the polygon. |
Member Data Documentation
CGraphicsContext::TFillRule
iFillRule
TInt
iNumPoints
The number of points in the polygon.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.