#include <frame.h>
Inheritance diagram for Box:

Public Methods | |
| Box () | |
| default constructor. More... | |
| Box (unsigned int width, unsigned int height, unsigned int x, unsigned int y) | |
| Box (Box &other) | |
| virtual | ~Box () |
| destructor. More... | |
| virtual BOX_TYPE | get_type () |
| virtual Box * | get_copy () |
| unsigned int | get_width () |
| void | set_width (unsigned int width) |
| unsigned int | get_height () |
| void | set_height (unsigned int height) |
| unsigned int | get_x () |
| void | set_x (unsigned int x) |
| unsigned int | get_y () |
| void | set_y (unsigned int y) |
Private Attributes | |
| unsigned int | x |
| unsigned int | y |
| unsigned int | width |
| unsigned int | height |
|
|
default constructor.
|
|
||||||||||||||||||||
|
initilise with several points
|
|
|
|
|
|
destructor.
|
|
|
Reimplemented in Face. |
|
|
|
|
|
used to tell people using this class, when it is in an object, what type it really is so it can be cast to the proper thing Reimplemented in Face. |
|
|
|
|
|
|
|
|
|
|
|
sets the height of the box
|
|
|
sets the width of the box
|
|
|
sets the x value of the box
|
|
|
sets the y value of the box
|
|
|
height of the box |
|
|
width of the box |
|
|
x value of the upper left hand corner of the box |
|
|
y value of the upper left hand corner of the box |
1.2.14 written by Dimitri van Heesch,
© 1997-2002