|
Maps SDK for C++ 1.0.0
|
Size representation based on pixels. More...
Public Member Functions | |
| SizeType (T aWidth=0, T aHeight=0) | |
| Constructor initializing width and height to 0 if no values are passed in. | |
| bool | isEmpty () const |
| Returns true if both dimensions are set to 0. | |
| bool | operator== (const SizeType &item) const |
| Comparison operator equal. | |
| bool | operator!= (const SizeType &item) const |
| Comparison operator not equal. | |
Public Attributes | |
| T | width |
| Width of a rectangle, in pixels, such as a viewport, or the screen. | |
| T | height |
| Height of a rectangle, in pixels, such as a viewport, or the screen. | |
Size representation based on pixels.
|
inlineexplicit |
Constructor initializing width and height to 0 if no values are passed in.
| aWidth | Width of a rectangle, in pixels, such as a viewport, or the screen. |
| aHeight | Height of a rectangle, in pixels, such as a viewport, or the screen. |
| T | Type of the width and height values. |
|
inline |
Returns true if both dimensions are set to 0.
|
inline |
Comparison operator not equal.
| item | SizeType to compare to. |
|
inline |
Comparison operator equal.
| item | SizeType to compare to. |