|
|
constexpr | Rect (int16 w, int16 h) |
| |
|
| Rect (const Point &topLeft, const Point &bottomRight) |
| |
|
constexpr | Rect (const Point &topLeft, int16 w, int16 h) |
| |
|
| Rect (int16 x1, int16 y1, int16 x2, int16 y2) |
| |
| constexpr | RectBase (int16 w, int16 h) |
| |
| | RectBase (const Point &topLeft, const Point &bottomRight) |
| |
| constexpr | RectBase (const Point &topLeft, int16 w, int16 h) |
| |
| | RectBase (int16 x1, int16 y1, int16 x2, int16 y2) |
| |
| bool | operator== (const Rect &rhs) const |
| |
| bool | operator!= (const Rect &rhs) const |
| |
| Point | origin () const |
| |
| int16 | width () const |
| |
| int16 | height () const |
| |
| void | setWidth (int16 aWidth) |
| |
| void | setHeight (int16 aHeight) |
| |
| void | setRect (int16 newLeft, int16 newTop, int16 newRight, int16 newBottom) |
| |
| bool | contains (int16 x, int16 y) const |
| |
| bool | contains (const Point &p) const |
| |
| bool | contains (const Rect &r) const |
| |
| bool | equals (const Rect &r) const |
| |
| bool | intersects (const Rect &r) const |
| |
| Rect | findIntersectingRect (const Rect &r) const |
| |
| void | extend (const Rect &r) |
| |
| void | grow (int16 offset) |
| |
| void | clip (const Rect &r) |
| |
| void | clip (int16 maxw, int16 maxh) |
| |
| void | setEmpty () |
| |
| bool | isEmpty () const |
| |
| bool | isValidRect () const |
| |
| void | moveTo (int16 x, int16 y) |
| |
| void | moveTo (const Point &p) |
| |
| void | translate (int16 dx, int16 dy) |
| |
| bool | constrain (const Rect &o) |
| |
| bool | constrain (int16 &x, int16 &y, int16 w, int16 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 |
| |
| Point | center () const |
| |