Public Member Functions | |
Region () | |
Region (const IRect &cRect) | |
Region (const Region &cReg) | |
Region (const Region &cReg, const IRect &cRect, bool bNormalize) | |
~Region () | |
void | Set (const IRect &cRect) |
void | Set (const Region &cRect) |
void | Clear (void) |
bool | IsEmpty () const |
int | GetClipCount () const |
void | Include (const IRect &cRect) |
/since 0.3.7 | |
void | Intersect (const Region &cReg) |
void | Intersect (const Region &cReg, const IPoint &cOffset) |
| |
void | Exclude (const IRect &cRect) |
void | Exclude (const Region &cReg) |
void | Exclude (const Region &cReg, const IPoint &cOffset) |
| |
ClipRect * | AddRect (const IRect &cRect) |
Region * | Clone (const IRect &cRectangle, bool bNormalize) |
void | Optimize () |
IRect | GetBounds () const |
Static Public Member Functions | |
static void | FreeClipRect (ClipRect *pcRect) |
static ClipRect * | AllocClipRect () |
Public Attributes | |
ClipRectList | m_cRects |
Region::Region | ( | ) |
Region::Region | ( | const IRect & | cRect | ) |
Region::Region | ( | const Region & | cReg | ) |
Region::~Region | ( | ) |
void Region::Set | ( | const IRect & | cRect | ) |
void Region::Set | ( | const Region & | cRect | ) |
void Region::Clear | ( | void | ) |
bool os::Region::IsEmpty | ( | ) | const [inline] |
int os::Region::GetClipCount | ( | ) | const [inline] |
void Region::Include | ( | const IRect & | cRect | ) |
void Region::Intersect | ( | const Region & | cReg | ) |
\return |
void Region::Exclude | ( | const IRect & | cRect | ) |
void Region::Exclude | ( | const Region & | cReg | ) |
\return |
void Region::Optimize | ( | ) |
void Region::FreeClipRect | ( | ClipRect * | pcRect | ) | [static] |
ClipRect * Region::AllocClipRect | ( | ) | [static] |
IRect Region::GetBounds | ( | ) | const |