|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
矩形(int) 更多...
Public 成员函数 | |
| GRect () | |
| GRect (int l, int t, int r, int b) | |
| GRect (const GRect &rt) | |
| BOOL | IsRectEmpty () const |
| BOOL | IsInRect (int x, int y) const |
| void | Normalization () |
| int | Width () const |
| void | SetWidth (int w) |
| int | Height () const |
| void | SetHeight (int h) |
| void | OffsetRect (int x, int y) |
| void | SetPoint (int x, int y) |
| void | SetSize (int w, int h) |
| void | SetRect (int l, int t, int r, int b) |
| void | SetRect (const GRect &rt) |
| POINT | CenterPoint () const |
| int | Length () const |
| int | Area () const |
| BOOL | IntersectRect (const GRect &rt) |
| BOOL | IntersectRect (const GRect &rt1, const GRect &rt2) |
| void | UnionRect (const GRect &rt) |
| void | UnionRect (const GRect &rt1, const GRect &rt2) |
| void | InflateRect (int l, int t, int r, int b) |
| void | InflateRect (int x, int y) |
| void | InflateRect (const GRect &rt) |
| void | DeflateRect (int l, int t, int r, int b) |
| void | DeflateRect (int x, int y) |
| void | SwapLeftRight () |
| void | SwapTopBottom () |
| void | Swap () |
| void | SetRectEmpty () |
| void | Translate (int dx_, int dy_) |
| RECT | ToRECT () const |
| const GRect & | operator= (const GRect &rt) |
| BOOL | operator== (const GRect &rt) const |
| BOOL | operator!= (const GRect &rt) const |
| const GRect & | operator&= (const GRect &rt) |
| const GRect & | operator|= (const GRect &rt) |
| GRect | operator& (const GRect &rt) const |
| GRect | operator| (const GRect &rt) const |
Public 属性 | |
| int | left |
| int | right |
| int | top |
| int | bottom |
矩形(int)
| BUI::GRect::GRect | ( | ) |
| BUI::GRect::GRect | ( | int | l, |
| int | t, | ||
| int | r, | ||
| int | b | ||
| ) |
| BUI::GRect::GRect | ( | const GRect & | rt | ) |
| int BUI::GRect::Area | ( | ) | const |
| POINT BUI::GRect::CenterPoint | ( | ) | const |
| void BUI::GRect::DeflateRect | ( | int | l, |
| int | t, | ||
| int | r, | ||
| int | b | ||
| ) |
| void BUI::GRect::DeflateRect | ( | int | x, |
| int | y | ||
| ) |
| int BUI::GRect::Height | ( | ) | const |
| void BUI::GRect::InflateRect | ( | const GRect & | rt | ) |
| void BUI::GRect::InflateRect | ( | int | l, |
| int | t, | ||
| int | r, | ||
| int | b | ||
| ) |
| void BUI::GRect::InflateRect | ( | int | x, |
| int | y | ||
| ) |
| BOOL BUI::GRect::IsInRect | ( | int | x, |
| int | y | ||
| ) | const |
| BOOL BUI::GRect::IsRectEmpty | ( | ) | const |
| int BUI::GRect::Length | ( | ) | const |
| void BUI::GRect::Normalization | ( | ) |
| void BUI::GRect::OffsetRect | ( | int | x, |
| int | y | ||
| ) |
| void BUI::GRect::SetHeight | ( | int | h | ) |
| void BUI::GRect::SetPoint | ( | int | x, |
| int | y | ||
| ) |
| void BUI::GRect::SetRect | ( | const GRect & | rt | ) |
| void BUI::GRect::SetRect | ( | int | l, |
| int | t, | ||
| int | r, | ||
| int | b | ||
| ) |
| void BUI::GRect::SetRectEmpty | ( | ) |
| void BUI::GRect::SetSize | ( | int | w, |
| int | h | ||
| ) |
| void BUI::GRect::SetWidth | ( | int | w | ) |
| void BUI::GRect::Swap | ( | ) |
| void BUI::GRect::SwapLeftRight | ( | ) |
| void BUI::GRect::SwapTopBottom | ( | ) |
| RECT BUI::GRect::ToRECT | ( | ) | const |
| void BUI::GRect::Translate | ( | int | dx_, |
| int | dy_ | ||
| ) |
| void BUI::GRect::UnionRect | ( | const GRect & | rt | ) |
| int BUI::GRect::Width | ( | ) | const |
| int BUI::GRect::bottom |
| int BUI::GRect::left |
| int BUI::GRect::right |
| int BUI::GRect::top |