![]() |
XII Release 0.1.0
|
Copyright (c) Theophilus Eriata. All Rights Reserved. More...
#include <Size.h>
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
| xiiSizeTemplate () | |
| Default constructor does not initialize the data. | |
| xiiSizeTemplate (Type width, Type height) | |
| Constructor to set all values. | |
| bool | HasNonZeroArea () const |
| Returns true if the area described by the size is non zero. | |
Static Public Member Functions | |
| static constexpr xiiSizeTemplate< Type > | MakeZero () |
| Static function that returns a zero-size. | |
| static constexpr xiiSizeTemplate< Type > | Make (Type x, Type y) |
| Returns a size initialized to x,y. | |
Public Attributes | |
| Type | width |
| Type | height |
Copyright (c) Theophilus Eriata. All Rights Reserved.
A simple size class templated on the type for width and height.
|
default |
Default constructor does not initialize the data.
Copyright (c) Theophilus Eriata. All Rights Reserved.