#include <rect.h>
Public Member Functions | |
Rect () | |
Rect (const Point &x) | |
Rect (const Point &min, const Point &max) | |
Rect (const value_type &x1, const value_type &y1) | |
Rect (const value_type &x1, const value_type &y1, const value_type &x2, const value_type &y2) | |
void | set_point (const Point &max) |
Rect & | expand (const Point &max) |
Rect & | expand (const Real &r) |
Rect & | expand_x (const Real &r) |
Rect & | expand_y (const Real &r) |
Rect & | set (const Point &min, const Point &max) |
Point | get_min () const |
Point | get_max () const |
bool | is_inside (const Point &x) |
Real | area () const |
Rect & | operator+= (const Vector &rhs) |
Rect & | operator-= (const Vector &rhs) |
Rect & | operator *= (const Real &rhs) |
Rect & | operator/= (Real rhs) |
Rect & | operator &= (const Rect &rhs) |
Rect & | operator|= (const Rect &rhs) |
Rect | operator+ (const Vector &rhs) const |
Rect | operator- (const Vector &rhs) const |
Rect | operator * (const Real &rhs) const |
Rect | operator/ (const Real &rhs) const |
Rect | operator & (const Rect &rhs) const |
Rect | operator| (const Rect &rhs) const |
bool | operator && (const Rect &rhs) const |
bool | is_valid () const |
Static Public Member Functions | |
static Rect | full_plane () |
static Rect | zero () |
synfig::Rect::Rect | ( | ) | [inline] |
synfig::Rect::Rect | ( | const Point & | x | ) | [inline] |
synfig::Rect::Rect | ( | const value_type & | x1, | |
const value_type & | y1 | |||
) | [inline] |
synfig::Rect::Rect | ( | const value_type & | x1, | |
const value_type & | y1, | |||
const value_type & | x2, | |||
const value_type & | y2 | |||
) | [inline] |
Rect Rect::full_plane | ( | ) | [static] |
static Rect synfig::Rect::zero | ( | ) | [inline, static] |
void synfig::Rect::set_point | ( | const Point & | max | ) | [inline] |
Point synfig::Rect::get_min | ( | ) | const [inline] |
Point synfig::Rect::get_max | ( | ) | const [inline] |
bool synfig::Rect::is_inside | ( | const Point & | x | ) | [inline] |
Real synfig::Rect::area | ( | ) | const [inline] |
bool synfig::Rect::operator && | ( | const Rect & | rhs | ) | const [inline] |
bool synfig::Rect::is_valid | ( | ) | const [inline] |