Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

gint sp_bezier_fit_cubic ( NR::Point bezier,
NR::Point const *  data,
gint  len,
gdouble  error 
)

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

Returns:
Number of segments generated, or -1 on error.

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

References sp_bezier_fit_cubic_r().

{
    return sp_bezier_fit_cubic_r(bezier, data, len, error, 1);
}


Generated by  Doxygen 1.6.0   Back to index