#include <graphicsaccelerator.h>
class TGopFilledPolygonWithPattern : public TGraphicsOperation |
Public Attributes | |
---|---|
CGraphicsContext::TFillRule | iFillRule |
TInt | iNumPoints |
TGopFillPattern | iPattern |
Public Member Functions | |
---|---|
TGopFilledPolygonWithPattern(TGopFillPattern, CGraphicsContext::TFillRule) | |
void | AddPoints(TInt, TPoint *) |
Inherited Attributes | |
---|---|
TGraphicsOperation::iFunction | |
TGraphicsOperation::iSize |
Inherited Enumerations | |
---|---|
TGraphicsOperation:TGopFunction |
An accelerated graphics operation that fills a polygon with a pattern held in another bitmap.
AddPoints() must be called to specify the polygon to be filled. Objects of this class can be passed to a graphics accelerator's Operation() function either individually, or in a buffer.
See also: TGraphicsAcceleratorCaps::iPolygon TGopFillPattern
CGraphicsContext::TFillRule | iFillRule |
Bit flags for how self-crossing polygons are filled.
See also: CGraphicsContext::TFillRule
TGopFilledPolygonWithPattern | ( | TGopFillPattern | aPattern, |
CGraphicsContext::TFillRule | aFillRule | ||
) | [inline] |
Constructor with a fill pattern and a fill rule. The number of points is initialised to zero.
Parameter | Description |
---|---|
aPattern | The fill pattern. |
aFillRule | Bit flags for how self-crossing polygons are filled. |
Specifies the polygon to be filled as a number of 2D point coordinates.
AddPoints() should only be called once the TGopFilledPolygonWithPattern object has been stored into a buffer. There must be enough room in the buffer after the TGopFilledPolygonWithPattern object to hold aNumPoints TPoint sized structures. This is because the points are copied into the memory space directly following the TGopFilledPolygonWithPattern object.
Parameter | Description |
---|---|
aNumPoints | The number of points in the polygon. |
aPoints | Pointer to the first point in the polygon. |