|
| Rectf (const Rectf &rhs)=default |
|
Rectf & | operator= (const Rectf &rhs)=default |
|
| Rectf (const Vector &np1, const Vector &np2) |
|
| Rectf (float x1, float y1, float x2, float y2) |
|
| Rectf (const Vector &p1, const Sizef &size) |
|
| Rectf (const SDL_FRect &rect) |
|
| Rectf (const Rect &rect) |
|
bool | operator== (const Rectf &other) const |
|
float & | get_left () |
|
float & | get_top () |
|
float | get_left () const |
|
float | get_right () const |
|
float | get_top () const |
|
float | get_bottom () const |
|
float & | get_width () |
|
float & | get_height () |
|
float | get_width () const |
|
float | get_height () const |
|
void | set_left (float v) |
|
void | set_right (float v) |
|
void | set_top (float v) |
|
void | set_bottom (float v) |
|
Vector | get_middle () const |
|
void | set_pos (const Vector &v) |
|
void | set_width (float width) |
|
void | set_height (float height) |
|
void | set_size (float width, float height) |
|
Sizef | get_size () const |
|
bool | empty () const |
|
void | move (const Vector &v) |
|
Rectf | moved (const Vector &v) const |
|
bool | contains (const Vector &v) const |
|
bool | overlaps (const Rectf &other) const |
|
float | distance (const Vector &other, AnchorPoint ap=ANCHOR_MIDDLE) const |
|
float | distance (const Rectf &other, AnchorPoint ap=ANCHOR_MIDDLE) const |
|
Rectf | grown (float border) const |
|
Vector | p1 () const |
|
Vector | p2 () const |
|
void | set_p1 (const Vector &p) |
|
void | set_p2 (const Vector &p) |
|
Rect | to_rect () const |
|
SDL_FRect | to_sdl () const |
|
|
static Rectf | from_center (const Vector ¢er, const Sizef &size) |
|
The documentation for this class was generated from the following files: