
2D (x1, y1, x2, y2, x3, y3, x4, y4) quad structure. More...
Derived from: | None |
Derived by: | None |
Group: | Math (Core) |
#include <ClanLib/core.h>
Class Members:
Construction: | |
Constructs a quad. | |
Quad += Quad operator. | |
Quad -= Quad operator. | |
Quad + Quad operator. | |
Quad - Quad operator. | |
Quad == Quad operator. | |
Quad != Quad operator. |
| |
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 . | |
X1-coordinate. | |
Y1-coordinate. | |
X2-coordinate. | |
Y2-coordinate. | |
X3-coordinate. | |
Y3-coordinate. | |
X4-coordinate. | |
Y4-coordinate. |
| |
Rotates the Quad. | |
Scale the Quad. | |
Returns the center point of the quad. | |
Applies an origin and offset pair to this rectangle. |