Function kurbo::cubics_to_quadratic_splines

source ·
pub fn cubics_to_quadratic_splines(
    curves: &[CubicBez],
    accuracy: f64,
) -> Option<Vec<QuadSpline>>
Expand description

Convert multiple cubic Bézier curves to quadratic splines.

Ensures that the resulting splines have the same number of control points.

Rust port of cu2qu cubic_approx_quadratic