diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-2BC2A35E-634D-5F70-8279-C1822C0E4F3F.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-2BC2A35E-634D-5F70-8279-C1822C0E4F3F.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,13 @@ + + + + + +Geometry Classes

This topic provides an introduction to the TPoint, TSize, TRect and TRegion basic graphics classes.

A TPoint stores and provides the means for manipulating conceptual points and sizes. It consists of a pair of (x,y) co-ordinates.

A TSize is described in terms of a width and height.

A TRect represents a rectangle whose sides are parallel with the axes of the co-ordinate system. It is described by the co-ordinates of its top left and bottom right corners, or by its top left hand corner and its size.

A TRegion consists of one or more TRect s. All Draw() functions draw to a TRect rather than to a TRegion because calculating the dimensions of a TRegion is too complex for the requirements of most applications. TRegion s are principally used when drawing sprites.

The classes: RRegion, RRegionBuf<class S> and TRegionFix<class S> all derive from TRegion.

Drawing + to a Graphics Context Tutorials Drawing and Graphics Contexts
\ No newline at end of file