2D 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. |
| |
First Point. | |
Second Point. | |
Third Point. | |
Fourth Point. | |
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 . |
| |
Rotates the Quad. | |
Scale the Quad. | |
Returns the center point of the quad. | |
Applies an origin and offset pair to this rectangle. |
Detailed description:
These quads templates are defined for: int ( CL_Quad ), float ( CL_Quadf ), double ( CL_Quadd )