|
Nana C++ Library. Reference for users.
What we need to use nana
|
Public Types | |
| using | value_type = unsigned |
Public Member Functions | |
| size () | |
| size (value_type width, value_type height) | |
| bool | empty () const |
| true if width * height == 0 More... | |
| bool | is_hit (const point &) const |
| Assume it is a rectangle at (0,0), and check whether a specified position is in the rectangle. More... | |
| size & | shift () |
| bool | operator== (const size &rhs) const |
| bool | operator!= (const size &rhs) const |
| size | operator+ (const size &) const |
Public Attributes | |
| value_type | width |
| value_type | height |
| using nana::size::value_type = unsigned |
| nana::size::size | ( | ) |
| nana::size::size | ( | value_type | width, |
| value_type | height | ||
| ) |
| bool nana::size::empty | ( | ) | const |
true if width * height == 0
| bool nana::size::is_hit | ( | const point & | pos | ) | const |
Assume it is a rectangle at (0,0), and check whether a specified position is in the rectangle.
| bool nana::size::operator!= | ( | const size & | rhs | ) | const |
| bool nana::size::operator== | ( | const size & | rhs | ) | const |
| size & nana::size::shift | ( | ) |
| value_type nana::size::height |
| value_type nana::size::width |