Public Member Functions | |
| Rect () | |
| Rect (float l, float t, float r, float b) | |
| Rect (const Point &cMin, const Point &cMax) | |
| Rect (const IRect &cRect) | |
| ~Rect () | |
| Rect | Scale (const Point &cFromScale, const Point &cToScale) |
| bool | IsValid () const |
| void | Invalidate (void) |
| bool | DoIntersect (const Point &cPoint) const |
| bool | DoIntersect (const Rect &cRect) const |
| bool | Includes (const Rect &cRect) const |
| float | Width (void) const |
| float | Height (void) const |
| Point | Size () const |
| Point | LeftTop () const |
| Point | RightBottom () const |
| Rect | Bounds (void) const |
| Rect & | Floor (void) |
| Rect & | Ceil (void) |
| Rect & | Resize (float nLeft, float nTop, float nRight, float nBottom) |
| Rect & | MoveTo (float nLeft, float nTop) |
| Rect | operator+ (const Point &cPoint) const |
| Rect | operator- (const Point &cPoint) const |
| Point | operator+ (const Rect &cRect) const |
| Point | operator- (const Rect &cRect) const |
| Rect | operator & (const Rect &cRect) const |
| void | operator &= (const Rect &cRect) |
| Rect | operator| (const Rect &cRect) const |
| void | operator|= (const Rect &cRect) |
| Rect | operator| (const Point &cPoint) const |
| void | operator|= (const Point &cPoint) |
| void | operator+= (const Point &cPoint) |
| void | operator-= (const Point &cPoint) |
| bool | operator== (const Rect &cRect) const |
| bool | operator!= (const Rect &cRect) const |
Public Attributes | |
| float | left |
| float | top |
| float | right |
| float | bottom |
| os::Rect::Rect | ( | ) | [inline] |
| os::Rect::Rect | ( | float | l, | |
| float | t, | |||
| float | r, | |||
| float | b | |||
| ) | [inline] |
| os::Rect::Rect | ( | const IRect & | cRect | ) | [inline] |
| os::Rect::~Rect | ( | ) | [inline] |
| bool os::Rect::IsValid | ( | void | ) | const [inline] |
| void os::Rect::Invalidate | ( | void | ) | [inline] |
| bool os::Rect::DoIntersect | ( | const Point & | cPoint | ) | const [inline] |
| bool os::Rect::DoIntersect | ( | const Rect & | cRect | ) | const [inline] |
| bool os::Rect::Includes | ( | const Rect & | cRect | ) | const [inline] |
| float os::Rect::Width | ( | void | ) | const [inline] |
| float os::Rect::Height | ( | void | ) | const [inline] |
| Point os::Rect::Size | ( | ) | const [inline] |
| Point os::Rect::LeftTop | ( | ) | const [inline] |
| Point os::Rect::RightBottom | ( | ) | const [inline] |
| Rect os::Rect::Bounds | ( | void | ) | const [inline] |
| Rect& os::Rect::Floor | ( | void | ) | [inline] |
| Rect& os::Rect::Ceil | ( | void | ) | [inline] |
| Rect& os::Rect::Resize | ( | float | nLeft, | |
| float | nTop, | |||
| float | nRight, | |||
| float | nBottom | |||
| ) | [inline] |
| Rect& os::Rect::MoveTo | ( | float | nLeft, | |
| float | nTop | |||
| ) | [inline] |
| void os::Rect::operator &= | ( | const Rect & | cRect | ) | [inline] |
| void os::Rect::operator|= | ( | const Rect & | cRect | ) | [inline] |
| void os::Rect::operator|= | ( | const Point & | cPoint | ) | [inline] |
| void os::Rect::operator+= | ( | const Point & | cPoint | ) | [inline] |
| void os::Rect::operator-= | ( | const Point & | cPoint | ) | [inline] |
| bool os::Rect::operator== | ( | const Rect & | cRect | ) | const [inline] |
| bool os::Rect::operator!= | ( | const Rect & | cRect | ) | const [inline] |
| float os::Rect::left |
| float os::Rect::top |
| float os::Rect::right |
| float os::Rect::bottom |
1.5.1