A class to represent sizes of two dimensional objects like images. More...
#include <Base.h>
Public Member Functions | |
Size () | |
Construct a size with width and height of zero. | |
Size (int w, int h) | |
Construct a size of the given width and height. | |
bool | operator== (const Size &other) const |
Compare two sizes for equality. | |
bool | operator!= (const Size &other) const |
Compare two sizes for equality. | |
Public Attributes | |
int | width |
The width as an int. | |
int | height |
The height as an int. |
A class to represent sizes of two dimensional objects like images.
Definition at line 61 of file Base.h.
FCam::Size::Size | ( | ) | [inline] |
FCam::Size::Size | ( | int | w, | |
int | h | |||
) | [inline] |