Public Member Functions | |
Size (int width, int height) | |
bool | IsNull () const |
bool | ExceedsByAny (const Size &size) const |
bool | operator== (const Size &size) const |
bool | operator!= (const Size &size) const |
bool | operator< (const Size &other) const |
Size | operator+ (const Size &size) const |
Size | operator- (const Size &size) const |
Size | operator* (int x) const |
Size | operator/ (int x) const |
Size & | operator*= (int x) |
Size & | operator/= (int x) |
Static Public Member Functions | |
static Size | Clamp (const Size &sz, const Size &floor, const Size &ceil) |
Public Attributes | |
int | Width |
int | Height |