Rectangle defined by a point and size. More...
#include <Sizer.h>
Public Member Functions | |
SizerRect (int x=0, int y=0, int width=0, int height=0) | |
SizerRect (const SizerPoint &topLeft, const SizerSize &size) | |
void | Set (int x, int y, int w, int h) |
Public Attributes | |
SizerPoint | p |
SizerSize | s |
Rectangle defined by a point and size.
|
inline |
...
|
inline |
...
|
inline |
Change after construction.
SizerPoint SizerRect::p |
top-left position of the rectangle
SizerSize SizerRect::s |
size of the rectangle