Home | All Classes | Grouped Classes | Index | Search
2D (x1, y1, x2, y2, x3, y3, x4, y4) quad structure. More...
Derived from:
none
Derived by:
none
Group: Core (Math)
#include <ClanLib/core.h>
Construction:
Constructs a quad. | |
Quad += Quad operator. | |
Quad -= Quad operator. | |
Quad + Quad operator. | |
Quad - Quad operator. | |
Quad == Quad operator. | |
Quad != Quad operator. |
Attributes:
X1-coordinate. | |
Y1-coordinate. | |
X2-coordinate. | |
Y2-coordinate. | |
X3-coordinate. | |
Y3-coordinate. | |
X4-coordinate. | |
Y4-coordinate. | |
Returns the width of the quad. | |
Returns the height of the quad. | |
Returns the size of the rectangle. | |
Returns the bounding box of the quad as a CL_Rect |
Operations:
Rotates the Quad | |
Scale the Quad | |
Returns the center point of the quad | |
Applies an origin and offset pair to this rectangle |
Detailed description:
!group=Core/Math! !header=core.h!