#include <faith/size.h>
Public Member Functions | |
| Size (int w, int h) | |
| Size () | |
| int | width () const |
| int | height () const |
| void | setWidth (int w) |
| void | setHeight (int h) |
| void | resize (int w, int h) |
| bool | operator== (const Size &other) const |
| bool | operator!= (const Size &other) const |
| Faith::Size | expandedTo (const Faith::Size &sz) const |
| Faith::Size | expandedTo (int w, int h) const |
| bool | isValid () const |
| bool | isInvalid () const |
| Size | operator- (const Size &other) const |
| Size | operator+ (const Size &other) const |
| Size & | operator+= (const Size &other) |
| Size & | operator *= (int s) |
| Size | operator * (int s) const |
| Size & | operator/= (int s) |
| Size | operator/ (int s) const |
| Faith::Size::Size | ( | int | w, | |
| int | h | |||
| ) | [inline] |
| Faith::Size::Size | ( | ) | [inline] |
| Faith::Size Faith::Size::expandedTo | ( | int | w, | |
| int | h | |||
| ) | const [inline] |
| Faith::Size Faith::Size::expandedTo | ( | const Faith::Size & | sz | ) | const [inline] |
| int Faith::Size::height | ( | ) | const [inline] |
| bool Faith::Size::isInvalid | ( | ) | const [inline] |
| bool Faith::Size::isValid | ( | ) | const [inline] |
| Size Faith::Size::operator * | ( | int | s | ) | const [inline] |
| Size& Faith::Size::operator *= | ( | int | s | ) | [inline] |
| bool Faith::Size::operator!= | ( | const Size & | other | ) | const [inline] |
| Size Faith::Size::operator/ | ( | int | s | ) | const [inline] |
| Size& Faith::Size::operator/= | ( | int | s | ) | [inline] |
| bool Faith::Size::operator== | ( | const Size & | other | ) | const [inline] |
| void Faith::Size::resize | ( | int | w, | |
| int | h | |||
| ) | [inline] |
| void Faith::Size::setHeight | ( | int | h | ) | [inline] |
| void Faith::Size::setWidth | ( | int | w | ) | [inline] |
| int Faith::Size::width | ( | ) | const [inline] |
1.4.7