|
| Rect (int _x1=0, int _y1=0, int _x2=0, int _y2=0) |
|
| Rect (const Rect &rect)=default |
|
Rect & | operator= (const Rect &rect)=default |
|
Rect & | setPosition (int x, int y) noexcept |
|
Rect & | setSize (int width, int height) noexcept |
|
Rect & | setLeft (int pos) noexcept |
|
Rect & | setTop (int pos) noexcept |
|
Rect & | setRight (int pos) noexcept |
|
Rect & | setBottom (int pos) noexcept |
|
Rect | intersected (const Rect &rect) noexcept |
|
Rect | intersected (const Rect &rect) const noexcept |
|
Rect | translated (int offsetX, int offsetY) const |
|
bool | contains (int x, int y) const noexcept |
|
bool | contains (const Rect &other) const noexcept |
|
int | distance (int x, int y) const noexcept |
|
int | left () const noexcept |
|
int | top () const noexcept |
|
int | right () const noexcept |
|
int | bottom () const noexcept |
|
int | width () const noexcept |
|
int | height () const noexcept |
|
bool | operator== (const Rect &other) const |
|
bool | operator!= (const Rect &other) const |
|
bool | isEmpty () const |
|
Definition at line 21 of file rect.h.
The documentation for this class was generated from the following file: