Public Member Functions | |
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 |
bool | Includes (const Rect &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 |
os::IRect::IRect | ( | void | ) | [inline] |
os::IRect::IRect | ( | int | l, | |
int | t, | |||
int | r, | |||
int | b | |||
) | [inline] |
os::IRect::IRect | ( | const Rect & | cRect | ) | [inline] |
os::IRect::~IRect | ( | ) | [inline] |
bool os::IRect::IsValid | ( | void | ) | const [inline] |
void os::IRect::Invalidate | ( | void | ) | [inline] |
bool os::IRect::DoIntersect | ( | const IPoint & | cPoint | ) | const [inline] |
bool os::IRect::DoIntersect | ( | const IRect & | cRect | ) | const [inline] |
bool os::IRect::Includes | ( | const Rect & | cRect | ) | const [inline] |
int os::IRect::Width | ( | void | ) | const [inline] |
int os::IRect::Height | ( | void | ) | const [inline] |
IPoint os::IRect::Size | ( | ) | const [inline] |
IPoint os::IRect::LeftTop | ( | ) | const [inline] |
IPoint os::IRect::RightBottom | ( | ) | const [inline] |
IRect os::IRect::Bounds | ( | void | ) | const [inline] |
IRect& os::IRect::Resize | ( | int | nLeft, | |
int | nTop, | |||
int | nRight, | |||
int | nBottom | |||
) | [inline] |
void os::IRect::operator &= | ( | const IRect & | cRect | ) | [inline] |
void os::IRect::operator|= | ( | const IRect & | cRect | ) | [inline] |
void os::IRect::operator|= | ( | const IPoint & | cPoint | ) | [inline] |
void os::IRect::operator+= | ( | const IPoint & | cPoint | ) | [inline] |
void os::IRect::operator-= | ( | const IPoint & | cPoint | ) | [inline] |
bool os::IRect::operator== | ( | const IRect & | cRect | ) | const [inline] |
bool os::IRect::operator!= | ( | const IRect & | cRect | ) | const [inline] |
int os::IRect::left |
int os::IRect::top |
int os::IRect::right |