|
|
|
class TGopFilledPolygonWithPattern : public TGraphicsOperation;
An accelerated graphics operation that fills a polygon with a pattern held in another bitmap.
TGopFilledPolygonWithPattern::AddPoints(TInt,TPoint *) 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.
TGraphicsOperation - Abstract base class for all graphics operations.
TGopFilledPolygonWithPattern - An accelerated graphics operation that fills a polygon with a pattern held in an...
Defined in TGopFilledPolygonWithPattern:
AddPoints(TInt,TPoint *)Specifies the polygon to be filled as a number of 2D point coordinates.iFillRuleBit flags for how self-crossing polygons are filled.iNumPointsThe number of points in the polygon. iPatternThe pattern of bitmaps that is used to fill the polygon. Inherited from TGraphicsOperation:
Append(TInt,TAny *)EAlphaBlendOneBitmapEAlphaBlendTwoBitmapsEBitBltEBitBltAlphaBitmapEBitBltAlphaChannelEBitBltMaskedEBitBltTransparentEChunkTestEFadeRectEFilledPolygonEFilledPolygonWithPatternEFilledRectEFilledRectUsingDrawModeEFilledRectWithPatternEInvertRectEScaledBitBltEScaledBitBltAlphaBitmapEScaledBitBltAlphaChannelEScaledBitBltMaskedEScaledBitBltTransparentEVirtualAddressTestFunction()constNext()constSize()constTGopFunctionTGraphicsOperation(TGopFunction,TInt)iFunctioniSizeTGraphicsAcceleratorCaps::iPolygonSpecifies the supported fill rules for self crossing polygons. Uses a bit flag f...TGopFillPatternA pattern represented by a bitmap that is used by a graphics accelerator to fill...inline TGopFilledPolygonWithPattern(TGopFillPattern aPattern, CGraphicsContext::TFillRule aFillRule);
Constructor with a fill pattern and a fill rule. The number of points is initialised to zero.
|
inline void AddPoints(TInt aNumPoints, TPoint *aPoints);
Specifies the polygon to be filled as a number of 2D point coordinates.
TGopFilledPolygonWithPattern::AddPoints(TInt,TPoint *) 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.
|
CGraphicsContext::TFillRule iFillRule;
Bit flags for how self-crossing polygons are filled.
CGraphicsContext::TFillRuleRules used to fill self crossing polygons.TInt iNumPoints;
The number of points in the polygon.