|
| Size () noexcept |
|
| Size (const T &width, const T &height) noexcept |
|
| Size (const Size< T > &size) noexcept |
|
const T & | getWidth () const noexcept |
|
const T & | getHeight () const noexcept |
|
void | setWidth (const T &width) noexcept |
|
void | setHeight (const T &height) noexcept |
|
void | setSize (const T &width, const T &height) noexcept |
|
void | setSize (const Size< T > &size) noexcept |
|
void | growBy (double multiplier) noexcept |
|
void | shrinkBy (double divider) noexcept |
|
bool | isNull () const noexcept |
|
bool | isNotNull () const noexcept |
|
bool | isValid () const noexcept |
|
bool | isInvalid () const noexcept |
|
Size< int > | toInt () const noexcept |
|
Size< T > | operator+ (const Size< T > &size) noexcept |
|
Size< T > | operator- (const Size< T > &size) noexcept |
|
Size< T > & | operator= (const Size< T > &size) noexcept |
|
Size< T > & | operator+= (const Size< T > &size) noexcept |
|
Size< T > & | operator-= (const Size< T > &size) noexcept |
|
Size< T > & | operator*= (double m) noexcept |
|
Size< T > & | operator/= (double d) noexcept |
|
Size< T > | operator* (double m) const noexcept |
|
Size< T > | operator/ (double m) const noexcept |
|
bool | operator== (const Size< T > &size) const noexcept |
|
bool | operator!= (const Size< T > &size) const noexcept |
|
template<typename T>
class Size< T >
DGL Size class.
This class describes a size, defined by a width and height value.