Home | All Classes | Grouped Classes | Index | Search
2D (left,top,right,bottom) floating point rectangle structure. More...
Derived from:
none
Derived by:
none
Group: Core (Math)
#include <ClanLib/core.h>
Construction:
Constructs an rectangle. | |
Rect += Rect operator. | |
Rect -= Rect operator. | |
Rect + Rect operator. | |
Rect - Rect operator. | |
Rect == Rect operator. | |
Rect != Rect operator. |
Attributes:
X1-coordinate. | |
Y1-coordinate. | |
X2-coordinate. | |
Y2-coordinate. | |
Returns the width of the rectangle. | |
Returns the height of the rectangle. | |
Returns the size of the rectangle. | |
Returns true if point is inside the rectangle. | |
Returns true if rectangle passed is overlapping or inside this rectangle. | |
Returns another CL_Rectf containing a rotated version of this one. |
Operations:
Sets the size of the rectangle, maintaining top/left position. | |
Calculates and returns the union of two rectangles. | |
Normalize rectangle. Ensures that left | |
Applies an origin and offset pair to this rectangle |
Detailed description: