#include <global.h>
Public Member Functions | |
| Rect () | |
| standard constructor | |
| Rect (int _x, int _y, int _w, int _h) | |
| int | Left () const |
| left | |
| int | Top () const |
| top | |
| int | Right () const |
| left + width | |
| int | Bottom () const |
| top + height | |
| bool | RectIntersect (const Rect *rcSrc) const |
| void | Inflate (int dx, int dy) |
| void | Set (int x, int y, int w, int h) |
Rect implements a rect class which supports
Definition at line 90 of file global.h.
|
||||||||||||||||||||
|
constructor with initialization
|
|
||||||||||||
|
inflate rect by dx, dy
|
|
|
intersect rects
|
|
||||||||||||||||||||
|
set origin, with and height
|
1.3.9.1