Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CUIRect Class Reference

Represents a rectangle on the screen. More...

#include <TTUIBase.h>

List of all members.

Public Member Functions

 CUIRect ()
 Default constructor, sets the values of all members to zero.

 CUIRect (const CUIPoint &aTopLeft, const CUIPoint &aSize)
 Initializes the CUIRect with given top coordinates and size.

 CUIRect (int aX, int aY, int aSizeX, int aSizeY)
 Initializes the CUIRect with given top coordinates and size.

bool Contains (const CUIPoint &aPoint)
 Returns true if this CUIRect contains given CUIPoint.

bool Contains (unsigned int aX, unsigned int aY)
 Returns true if this CUIRect contains given point.

bool Contains (const CUIRect &aOther)
 Returns true if this CUIRect contains given another CUIRect.


Public Attributes

CUIPoint iTopLeft
CUIPoint iSize


Detailed Description

Represents a rectangle on the screen.


Member Data Documentation

CUIPoint CUIRect::iSize
 

Dimentions

CUIPoint CUIRect::iTopLeft
 

Coordinates of left top corner


The documentation for this class was generated from the following file:
Generated on Fri Jul 15 16:46:44 2005 for TomTom GO User Interface library by doxygen 1.3.5