synfig-core
1.0.3
|
Curve Helper File. More...
Macros | |
#define | ERR 1e-11 |
Functions | |
int | intersect (const Rect &r, const Point &p, const Vector &v) |
int | intersect (const BezHull &bh, const Point &p, const Vector &v) |
int | Clip (const Rect &r, const Point &p1, const Point &p2, Point *op1, Point *op2) |
static void | clean_bez (const bezier< Point > &b, bezier< Point > &out) |
static int | recurse_intersect (const CIntersect::SCurve &b, const Point &p1, int depthleft=10) |
int | intersect (const bezier< Point > &b, const Point &p) |
int | intersect_scurve (const CIntersect::SCurve &b, const Point &p) |
Variables | |
const Real | ERROR = 1e-11 |
Curve Helper File.
$Id$
#define ERR 1e-11 |
Referenced by Clip(), and synfig::intersect().
References ERR.
Referenced by Warp::accelerated_cairorender(), Warp::accelerated_render(), synfig::Layer_PasteCanvas::accelerated_render(), and Rectangle::hit_check().
References ERR, synfig::BezHull::p, and synfig::BezHull::size.
References ERR.
Referenced by intersect(), and synfig::CIntersect::operator()().
|
static |
References ERROR, and synfig::intersect().
Referenced by intersect().
References synfig::Bound(), clean_bez(), and recurse_intersect().
int intersect_scurve | ( | const CIntersect::SCurve & | b, |
const Point & | p | ||
) |
References synfig::Rect::expand(), and synfig::Rect::set_point().
const Real ERROR = 1e-11 |
Referenced by recurse_intersect().