Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GraphicsAccelerator.h>

Class TGopFillPattern

class TGopFillPattern;

Description

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.

Members

Defined in TGopFillPattern:

See also:


Member data


iBitmap

TAcceleratedBitmapSpec iBitmap;

Description

Provides a handle to the bitmap, and other information needed to draw it.


iOrigin

TPoint iOrigin;

Description

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.