|
Molybden
|
A pair of numbers that in general are used to define dimensions in the two-dimensional space. More...
#include <geometry.hpp>
Public Member Functions | |
| Size (uint32_t width, uint32_t height) | |
| bool | isEmpty () const |
| Returns true if this size is empty. | |
| bool | operator== (const Size &other) const |
| Two sizes are equal if their width and height are equal. | |
| bool | operator!= (const Size &other) const |
| Two sizes are unequal if either their width or height are unequal. | |
Static Public Member Functions | |
| static Size | empty () |
| Creates an empty Size with zero width and height. | |
Public Attributes | |
| uint32_t | width |
| The horizontal dimension. | |
| uint32_t | height |
| The vertical dimension. | |
A pair of numbers that in general are used to define dimensions in the two-dimensional space.