
#include <cascade/graphics/CascadeDims.h>
Inheritance diagram for CascadeDims:

Public Member Functions | |
| CascadeDims () | |
| CascadeDims (u32 ww, u32 hh) | |
| CascadeDims (const CascadeDims &dims) | |
Public Attributes | |
| u32 | w |
| u32 | h |
CascadeDims represents simple 2d dimensions in terms of width and height.
|
|
default constructor The default constructor for CascadeDims initializes the dimensions to (0, 0) |
|
||||||||||||
|
dimension constructor This constructor sets the dims from the width and height coordinates passed in.
|
|
|
copy constructor This copy constructor copies the dims from the dims passed in.
|
|
|
the height of the dims h stores the width dimension of the dims |
|
|
the width of the dims w stores the width dimension of the dims |
1.4.1