synfig-core
1.0.3
|
#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 | operator== (const Rect &rhs) const |
bool | operator!= (const Rect &rhs) const |
bool | is_valid () const |
Rect | multiply_coords (const Vector &rhs) const |
Rect | divide_coords (const Vector &rhs) const |
Static Public Member Functions | |
static Rect | full_plane () |
static Rect | horizontal_strip (const value_type &y1, const value_type &y2) |
static Rect | vertical_strip (const value_type &x1, const value_type &x2) |
static Rect | zero () |
static Rect | infinite () |
|
inline |
Referenced by divide_coords(), infinite(), multiply_coords(), operator&(), operator*(), operator+(), operator-(), operator/(), operator|(), and zero().
|
inline |
References set_point().
References expand(), and set_point().
|
inline |
References set_point().
|
inline |
References expand(), and set_point().
|
static |
|
static |
Referenced by synfig::Layer_SphereDistort::get_bounding_rect().
|
static |
Referenced by synfig::Layer_SphereDistort::get_bounding_rect().
|
inlinestatic |
References Rect().
Referenced by operator&=().
|
inlinestatic |
References Rect().
Referenced by synfig::Transformation::transform_bounds().
|
inline |
References expand().
Referenced by synfig::Layer_SphereDistort::accelerated_cairorender(), Warp::accelerated_cairorender(), synfig::Layer_SphereDistort::accelerated_render(), Warp::accelerated_render(), synfig::Layer_Shape::accelerated_render(), Plant::calc_bounding_rect(), expand(), synfig::Layer_Shape::get_bounding_rect(), intersect_scurve(), Rect(), synfig::Transformation::transform_bounds(), and synfig::Layer_MeshTransform::update_mesh_and_mask().
|
inline |
Referenced by Rectangle::accelerated_cairorender(), Warp::accelerated_cairorender(), synfig::Layer_MeshTransform::accelerated_render(), Warp::accelerated_render(), synfig::Layer_Shape::get_bounding_rect(), operator!=(), operator==(), synfig::Transform::perform(), synfig::TransformStack::perform(), synfig::Transform::unperform(), and synfig::TransformStack::unperform().
|
inline |
Referenced by Rectangle::accelerated_cairorender(), Warp::accelerated_cairorender(), synfig::Layer_MeshTransform::accelerated_render(), Warp::accelerated_render(), synfig::Layer_Shape::get_bounding_rect(), operator!=(), operator==(), synfig::Transform::perform(), synfig::TransformStack::perform(), synfig::Transform::unperform(), and synfig::TransformStack::unperform().
|
inline |
Referenced by Warp::accelerated_cairorender(), Warp::accelerated_render(), Warp::get_color(), and Warp::hit_check().
|
inline |
|
inline |
References synfig::intersect().
|
inline |