Public Member Functions | |
Rect (int l, int t, int r, int b) | |
Point | GetLT () const |
Point | GetCenter () const |
int | GetWidth () const |
int | GetHeight () const |
Size | GetSize () const |
bool | IsEmpty () const |
bool | IsInside (int x, int y) const |
bool | IsInside (const Point &pt) const |
void | MoveToX (int x) |
void | MoveToY (int y) |
void | MoveTo (const Point &pt) |
void | SetWidth (int width) |
void | SetHeight (int height) |
bool | operator== (const Rect &r) const |
Static Public Member Functions | |
static Rect | MoveBy (const Rect &r, int x, int y) |
Public Attributes | |
int | Left |
int | Top |
int | Right |
int | Bottom |