|
dRonin
adbada4
dRonin GCS
|
#include <rectangle.h>
Public Member Functions | |
| Rectangle () | |
| Rectangle (qint32 x, qint32 y, qint32 width, qint32 height) | |
| Rectangle (core::Point location, core::Size size) | |
| core::Point | GetLocation () |
| void | SetLocation (const core::Point &value) |
| qint32 | X () |
| qint32 | Y () |
| void | SetX (const qint32 &value) |
| void | SetY (const qint32 &value) |
| qint32 | Width () |
| void | SetWidth (const qint32 &value) |
| qint32 | Height () |
| void | SetHeight (const qint32 &value) |
| qint32 | Left () |
| qint32 | Top () |
| qint32 | Right () |
| qint32 | Bottom () |
| bool | IsEmpty () |
| bool | operator== (const Rectangle &cSource) |
| bool | operator!= (const Rectangle &cSource) |
| bool | Contains (const qint32 &x, const qint32 &y) |
| bool | Contains (const core::Point &pt) |
| bool | Contains (const Rectangle &rect) |
| void | Inflate (const qint32 &width, const qint32 &height) |
| void | Inflate (Size &size) |
| void | Intersect (const Rectangle &rect) |
| bool | IntersectsWith (const Rectangle &rect) |
| void | Offset (const core::Point &pos) |
| void | Offset (const qint32 &x, const qint32 &y) |
| QString | ToString () |
Static Public Member Functions | |
| static Rectangle | FromLTRB (qint32 left, qint32 top, qint32 right, qint32 bottom) |
| static Rectangle | Inflate (Rectangle rect, qint32 x, qint32 y) |
| static Rectangle | Intersect (Rectangle a, Rectangle b) |
| static Rectangle | Union (const Rectangle &a, const Rectangle &b) |
Static Public Attributes | |
| static Rectangle | Empty =Rectangle() |
Friends | |
| quint32 | qHash (Rectangle const &rect) |
| bool | operator== (Rectangle const &lhs, Rectangle const &rhs) |
Definition at line 34 of file rectangle.h.