|
| | JRect (const JPoint &p1, const JPoint &p2) |
| |
| | JRect () |
| |
| | JRect (const JCoordinate t, const JCoordinate l, const JCoordinate b, const JCoordinate r) |
| |
| JCoordinate | width () const |
| |
| JCoordinate | height () const |
| |
| JSize | area () const |
| |
| JCoordinate | xcenter () const |
| |
| JCoordinate | ycenter () const |
| |
| JPoint | center () const |
| |
| JPoint | topLeft () const |
| |
| JPoint | bottomLeft () const |
| |
| JPoint | topRight () const |
| |
| JPoint | bottomRight () const |
| |
| void | Set (const JCoordinate t, const JCoordinate l, const JCoordinate b, const JCoordinate r) |
| |
| void | SetSize (const JCoordinate w, const JCoordinate h) |
| |
| void | Place (const JCoordinate t, const JCoordinate l) |
| |
| void | Place (const JPoint &pt) |
| |
| bool | IsEmpty () const |
| |
| bool | Contains (const JCoordinate x, const JCoordinate y) const |
| |
| bool | Contains (const JPoint &p) const |
| |
| bool | Contains (const JRect &r) const |
| |
| void | Shift (const JCoordinate dx, const JCoordinate dy) |
| |
| void | Shift (const JPoint delta) |
| |
| void | Shrink (const JCoordinate dx, const JCoordinate dy) |
| |
| void | Expand (const JCoordinate dx, const JCoordinate dy) |
| |
Defines portable rectangle type
System independent routines for dealing with rectangles
The coordinate system is the standard computer graphics system:
+---> x
|
y