int height
Height of size object.
Definition: size.h:58
Class to represent a two-dimensional size.
Definition: size.h:34
Size()
Construct an uninitialised size object.
Definition: size.h:42
bool operator!=(const Size &other) const
Check if two size have a different width or height.
Definition: size.h:80
int width
Width of size object.
Definition: size.h:57
Size & operator=(const Size &other)
Assign size to be equal to another.
Definition: size.h:66
bool operator==(const Size &other) const
Check if two size have the same values.
Definition: size.h:73
Size(int w, int h)
Construct a size object with the given dimensions.
Definition: size.h:49
Size(const Size &other)
Copy constructor.
Definition: size.h:55