#include <rect.h>
Public Methods | |
| IRect (void) | |
| IRect (int l, int t, int r, int b) | |
| IRect (const IPoint &cMin, const IPoint &cMax) | |
| IRect (const Rect &cRect) | |
| ~IRect () | |
| bool | IsValid () const |
| void | Invalidate (void) |
| bool | DoIntersect (const IPoint &cPoint) const |
| bool | DoIntersect (const IRect &cRect) const |
| int | Width () const |
| int | Height () const |
| IPoint | Size () const |
| IPoint | LeftTop () const |
| IPoint | RightBottom () const |
| IRect | Bounds (void) const |
| IRect & | Resize (int nLeft, int nTop, int nRight, int nBottom) |
| IRect | operator+ (const IPoint &cPoint) const |
| IRect | operator- (const IPoint &cPoint) const |
| IPoint | operator+ (const IRect &cRect) const |
| IPoint | operator- (const IRect &cRect) const |
| IRect | operator & (const IRect &cRect) const |
| void | operator &= (const IRect &cRect) |
| IRect | operator| (const IRect &cRect) const |
| void | operator|= (const IRect &cRect) |
| IRect | operator| (const IPoint &cPoint) const |
| void | operator|= (const IPoint &cPoint) |
| void | operator+= (const IPoint &cPoint) |
| void | operator-= (const IPoint &cPoint) |
| bool | operator== (const IRect &cRect) const |
| bool | operator!= (const IRect &cRect) const |
Public Attributes | |
| int | left |
| int | top |
| int | right |
| int | bottom |
|
|
|
|
|||||||||||||||||||||||||||||
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001