Windows RECT structure with constructor. More...
#include <Rect.h>
Public Member Functions | |
Rect (LONG x, LONG y, LONG width, LONG height) | |
Rect (const POINT &topleft, const SIZE &size) | |
Rect (const POINT &topleft, const POINT &bottomright) | |
Rect (const RECT &other) | |
Rect & | ClientToScreen (HWND window) |
Size | GetSize () const |
LONG | Height () const |
Rect & | Inflate (int dx, int dy) |
bool | Intersect (const RECT &r1, const RECT &r2) |
Rect | Intersect (const RECT &other) const |
bool | IsEmpty () const |
Rect & | Offset (int dx, int dy) |
void | operator= (const RECT &other) |
bool | operator== (const RECT &other) const |
bool | PtInRect (const POINT &p) const |
Rect & | ScreenToClient (HWND window) |
void | Set (const POINT &topleft, const SIZE &size) |
void | Set (const POINT &topleft, const POINT &bottomright) |
Point | TopLeft () const |
bool | Union (const RECT &r1, const RECT &r2) |
Rect | Union (const RECT &other) const |
LONG | Width () const |
Static Public Member Functions | |
static Rect | DesktopRect () |
Windows RECT structure with constructor.
|
inlinestatic |
Get the coordinates of the whole desktop.