Class to represent a rectangular size, meaning something that has a width and a height. A size class does not have any position in space, it only defines dimensions.

Public Functions


Construct a NULL size. A size that has no width or height.

Size::Size(int w, int h)

Construct a size with defined dimenstions

Size::Size(const Size &s)

Construct a size based on another size