Return to Index

Size

This class stores a width and a height.


Method Summary:
Size::Size();
Size::Size(int pWidth, int pHeight);
int Size::getWidth();
int Size::getHeight();
void Size::set(int pWidth, int pHeight);



Size::Size
Size::Size();

Constructs a new Size object with 0 width and 0 height.

Size::Size
Size::Size(int pWidth, int pHeight);

Constructs a new Size object with the given width and height.
Parameters:
int pWidthThe width.
int pHeightThe height.

int Size::getWidth
int Size::getWidth();

Returns the width.

int Size::getHeight
int Size::getHeight();

Returns the height.

void Size::set
void Size::set(int pWidth, int pHeight);

Sets the size.
Parameters:
int pWidthThe width.
int pHeightThe height.


Generated automatically by docgen 0.0.1
© 2003 Aron Dobos