|
|
|
class TGopFillPattern;
A pattern represented by a bitmap that is used by a graphics accelerator to fill a rectangle or polygon.
An object of this class is specified when constructing a TGopFilledRectWithPattern or TGopFilledPolygonWithPattern. The types and sizes of fill pattern bitmaps supported by the accelerator are given by TGraphicsAcceleratorCaps::iPattern and TGraphicsAcceleratorCaps::iPatternSizes respectively.
Defined in TGopFillPattern:
iBitmapProvides a handle to the bitmap, and other information needed to draw it. iOriginThe origin of the pattern. This is the position at which to draw the pixel at th...TGopFilledRectWithPatternAn accelerated graphics operation that fills a rectangular area with a pattern.TGopFilledPolygonWithPatternAn accelerated graphics operation that fills a polygon with a pattern held in an...TGraphicsAcceleratorCaps::iPatternSizesSpecifies the sizes of bitmaps that can be used in bitmap patterns.TGraphicsAcceleratorCaps::iPatternSpecifies the supported bitmap types for fill patterns. Uses a bit flag for each...TAcceleratedBitmapSpec iBitmap;
Provides a handle to the bitmap, and other information needed to draw it.
TPoint iOrigin;
The origin of the pattern. This is the position at which to draw the pixel at the top left hand corner of the bitmap around which copies of the bitmap are "tiled" to form the pattern. It is relative to the top left hand corner of the rectangle being filled, so specify 0,0 if you want the bitmaps drawn flush with the top and left hand sides of the rectangle.