TRegionFix Class Reference

class TRegionFix : public TRegion

A fixed size region.

The region consists of a fixed number of rectangles; this number is specified in the templated argument. The region cannot be expanded to contain more than this number of rectangles. If an attempt is made to do so, the region's error flag is set, and the region is cleared.

Note that when adding a rectangle to a region, if that rectangle overlaps an existing rectangle, the operation causes more than one rectangle to be created.

Inherits from

Constructor & Destructor Documentation

TRegionFix()

TRegionFix()[inline]

Constructs a default fixed size region.

TRegionFix(const TRect &)

TRegionFix(const TRect &aRect)[inline]

Constructs a fixed size region with a TRect.

Parameters

const TRect & aRectRectangle to be added to the newly constructed region.

TRegionFix(const TRegionFix< S > &)

TRegionFix(const TRegionFix< S > &aRegion)[inline]

Copy constructor.

Parameters

const TRegionFix< S > & aRegionThe TRegionFix object to be copied.

Member Data Documentation

TInt8 iRectangleBuf

TInt8 iRectangleBuf[private]