Product Home Class Index Download
CK_Object | +----CK_Rect
A CK_Rect object represents a rectangle. It is just like the Windows RECT structure, except the information is stored as left,top,width,height instead of left,top,right,bottom.
This class has public data members and no behaviour associated with it. Therefore, it is declared as a structure. The definition for CK_Rect is:
struct CK_Rect : public CK_Object
{
int top;
int left;
int width;
int height;
};
The CK_Object class is inherited just in case we'd like to treat it as a CK_Object in the future.