Logo Search packages:      
Sourcecode: inkscape version File versions

int Geom::bezier_fit_cubic ( Point *  bezier,
Point const *  data,
int  len,
double  error 

Fit a single-segment Bezier curve to a set of digitized points.

Number of segments generated, or -1 on error.

Definition at line 116 of file bezier-utils.cpp.

References bezier_fit_cubic_r().

Referenced by sp_node_delete_preserve().

    return bezier_fit_cubic_r(bezier, data, len, error, 1);

Generated by  Doxygen 1.6.0   Back to index