#include <size.h>
This class can be used to represent the size of a rectangular region. Due to the implmentation of this class it does not require any copy constructor.
Public Member Functions | |
| Size (void) | |
| Default Constructor. | |
| Size (int w, int h) | |
| Member initialiser. | |
Public Attributes | |
| int | width |
| Width. | |
| int | height |
| Height. | |
|
|
Default Constructor. This does nothing but initialise width and height to 0. |
|
||||||||||||
|
Member initialiser. Initialises width with w and height with h. |
|
|
Height. This stores the height. |
|
|
Width. This stores the width. |
1.3.7