TGopFilledRectUsingDrawMode Class Reference

class TGopFilledRectUsingDrawMode : public TGraphicsOperation

An accelerated graphics operation that fills a rectangular area with a colour, whilst performing a bitwise logical operation with the pixels in the region, for instance AND, OR, Exclusive OR.

The bitwise logical operation is specified in the draw mode. The data members are all initialised on construction. Objects of this class can be passed to a graphics accelerator's Operation() function either individually, or in a buffer.

Inherits from

Constructor & Destructor Documentation

TGopFilledRectUsingDrawMode(const TRect &, TRgb, CGraphicsContext::TDrawMode)

TGopFilledRectUsingDrawMode ( const TRect & aRect,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [inline]

Constructor with a rectangle, a colour and a draw mode.

Parameters

const TRect & aRect The rectangle to fill.
TRgb aColor The fill colour.
CGraphicsContext::TDrawMode aDrawMode The draw mode.

Member Data Documentation

TRgb iColor

TRgb iColor

The fill colour.

CGraphicsContext::TDrawMode iDrawMode

CGraphicsContext::TDrawMode iDrawMode

The draw mode.

TRect iRect

TRect iRect

The rectangle to fill.