#include <rect.h>
Collaboration diagram for rectangle:

Public Methods | |
| void | set_xy (T x_, T y_) |
| Sets x, y location of rectangle. | |
| void | set_wh (T w_, T h_) |
| Sets w, h of rectangle. | |
| void | set (T x_, T y_, T w_, T h_) |
| Sets all aspects of the rectangle. | |
| void | scale (T s) |
| Scales the rectangle by s. | |
Public Attributes | |
| T | x |
| x coordinate of rectangle. | |
| T | y |
| y coordinate of rectangle. | |
| T | w |
| width of rectangle. | |
| T | h |
| height of rectangle. | |
Definition at line 12 of file rect.h.
1.2.14 written by Dimitri van Heesch,
© 1997-2002