Public Member Functions | |
RectangleMy (const Point &topLeft, const Point &bottomRight) | |
RectangleMy (const Point &pos, int width) | |
Point | GetSize () const |
Point | GetPos () const |
const Point & | GetTopLeft () const |
const Point & | GetBottomRight () const |
void | SetPos (const Point &pos) |
void | SetTopLeft (const Point &p) |
void | SetBottomRight (const Point &p) |
Protected Attributes | |
Point | m_topLeft |
Point | m_bottomRight |