Location:
GraphicsAccelerator.h
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
:
iBitmap
, iOrigin
TGopFilledRectWithPattern
TGopFilledPolygonWithPattern
TGraphicsAcceleratorCaps::iPatternSizes
TGraphicsAcceleratorCaps::iPattern
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.