TGopFilledRectUsingDrawMode Class Reference

#include <graphicsaccelerator.h>

class TGopFilledRectUsingDrawMode : public TGraphicsOperation

Inherits from

Detailed Description

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.

Member Attribute Documentation

iColor

TRgb iColor

The fill colour.

iDrawMode

The draw mode.

iRect

TRect iRect

The rectangle to fill.

Constructor & Destructor Documentation

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

TGopFilledRectUsingDrawMode(const TRect &aRect,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[inline]

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

ParameterDescription
aRectThe rectangle to fill.
aColorThe fill colour.
aDrawModeThe draw mode.