|
constexpr | Rect32 (int32 w, int32 h) |
|
| Rect32 (const Point32 &topLeft, const Point32 &bottomRight) |
|
constexpr | Rect32 (const Point32 &topLeft, int32 w, int32 h) |
|
| Rect32 (int32 x1, int32 y1, int32 x2, int32 y2) |
|
constexpr | RectBase (int32 w, int32 h) |
|
| RectBase (const Point32 &topLeft, const Point32 &bottomRight) |
|
constexpr | RectBase (const Point32 &topLeft, int32 w, int32 h) |
|
| RectBase (int32 x1, int32 y1, int32 x2, int32 y2) |
|
bool | operator== (const Rect32 &rhs) const |
|
bool | operator!= (const Rect32 &rhs) const |
|
Point32 | origin () const |
|
int32 | width () const |
|
int32 | height () const |
|
void | setWidth (int32 aWidth) |
|
void | setHeight (int32 aHeight) |
|
void | setRect (int32 newLeft, int32 newTop, int32 newRight, int32 newBottom) |
|
bool | contains (int32 x, int32 y) const |
|
bool | contains (const Point32 &p) const |
|
bool | contains (const Rect32 &r) const |
|
bool | equals (const Rect32 &r) const |
|
bool | intersects (const Rect32 &r) const |
|
Rect32 | findIntersectingRect (const Rect32 &r) const |
|
void | extend (const Rect32 &r) |
|
void | grow (int32 offset) |
|
void | clip (const Rect32 &r) |
|
void | clip (int32 maxw, int32 maxh) |
|
void | setEmpty () |
|
bool | isEmpty () const |
|
bool | isValidRect () const |
|
void | moveTo (int32 x, int32 y) |
|
void | moveTo (const Point32 &p) |
|
void | translate (int32 dx, int32 dy) |
|
bool | constrain (const Rect32 &o) |
|
bool | constrain (int32 &x, int32 &y, int32 w, int32 h) const |
|
void | debugPrint (int debuglevel=0, const char *caption="Rect:") const |
|
void | debugPrintC (int debuglevel, uint32 debugChannel, const char *caption="Rect:") const |
|
String | toString () const |
|
Point32 | center () const |
|