Crazy Eddies GUI System  0.7.2
Public Member Functions | Public Attributes | List of all members
CEGUI::URect Class Reference

Area rectangle class built using unified dimensions (UDims). More...

+ Collaboration diagram for CEGUI::URect:

Public Member Functions

 URect (const UVector2 &min, const UVector2 &max)
 
 URect (const UDim &left, const UDim &top, const UDim &right, const UDim &bottom)
 
 URect (const URect &v)
 
Rect asAbsolute (const Size &base) const
 
Rect asRelative (const Size &base) const
 
const UVector2getPosition () const
 
UVector2 getSize () const
 
UDim getWidth () const
 
UDim getHeight () const
 
void setPosition (const UVector2 &pos)
 
void setSize (const UVector2 &sz)
 
void setWidth (const UDim &w)
 
void setHeight (const UDim &h)
 
void offset (const UVector2 &sz)
 
URect operator* (const UDim &dim) const
 
URect operator+ (const URect &r) const
 

Public Attributes

UVector2 d_min
 
UVector2 d_max
 

Detailed Description

Area rectangle class built using unified dimensions (UDims).