Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TRegionFix

TRegionFix<TInt>

Support

Supported from 5.0

Description

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.

Derivation

TRegionClipping region -- abstract base class
TRegionFixA fixed size region

Defined in TRegionFix:
TRegionFix()

Inherited from TRegion:
AddRect(), BoundingRect(), CheckError(), Clear(), ClipRect(), Contains(), Copy(), Count(), ForceError(), Intersect(), Intersection(), IsContainedBy(), IsEmpty(), Offset(), RectangleList(), Sort(), SubRect(), SubRegion(), Tidy(), Union(), operator[]()

See also:


Member functions


TRegionFix()

TRegionFix();

Description

Constructs a default fixed size region.


TRegionFix()

TRegionFix(const TRect& aRect);

Description

Constructs a fixed size region with a TRect.

Parameters

const TRect& aRect

Rectangle to be added to the newly constructed region.


TRegionFix()

TRegionFix(const TRegionFix<S>& aRegion);

Description

Copy constructor.

Parameters

const TRegionFix<S>& aRegion

The TRegionFix object to be copied.