|
Boost.UI
User Interface Boost library
|
2D size of object data structure with custom coordinates type More...
Public Member Functions | |
| basic_size () | |
| Constructs empty size object. | |
| basic_size (const T &width, const T &height) | |
| Constructs size with width and height. | |
| template<class D > | |
| basic_size (const basic_size< D > &s) | |
| Constructs size with an other size object. | |
| const T & | width () const |
| Retruns width. | |
| const T & | height () const |
| Retruns height. | |
| bool | operator== (const basic_size &other) const |
| Compares two sizes. | |
| bool | operator!= (const basic_size &other) const |
| Compares two sizes. | |
| basic_size & | operator*= (const T &value) |
| Arithmetic operation. | |
| basic_size & | operator/= (const T &value) |
| Arithmetic operation. | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class T , class CharT , class Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const basic_size< T > &p) |
| Writes basic_size into basic_size stream. | |
2D size of object data structure with custom coordinates type