|
MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
#include <Rect.h>
Public Member Functions | |
| Rect () | |
| Rect (const Rect ©) | |
| Rect (const SPoint &pos, const UPoint &size) | |
| Rect (s32 x, s32 y, u32 w, u32 h) | |
| void | IntersectWith (const Rect &other) |
| bool | IsEmpty () const |
| bool | Contains (const SPoint &point) |
| const SPoint & | GetPosition () const |
| s32 | GetX () const |
| s32 | GetY () const |
| void | SetPosition (const SPoint &newPos) |
| void | SetX (s32 newX) |
| void | SetY (s32 newY) |
| const UPoint & | GetSize () const |
| u32 | GetWidth () const |
| u32 | GetHeight () const |
| void | SetSize (const UPoint &newSize) |
| void | SetWidth (u32 newWidth) |
| void | SetHeight (u32 newHeight) |
| Rect & | operator= (const Rect &rhs) |
| Rect & | operator&= (const Rect &rhs) |
A 2D Rectangle with a location and dimensions.
|
inline |
Creates a new Rectangle with a position at the origin and no size.
|
inline |
Creates a new Rectangle with the properties of another given rectangle.
| copy | The Rectangle of which to copy the properties from. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void MFM::Rect::IntersectWith | ( | const Rect & | other | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.6