[−][src]Function lyon_geom::cubic_to_quadratic::cubic_to_quadratics
pub fn cubic_to_quadratics<S: Scalar, F>(
curve: &CubicBezierSegment<S>,
tolerance: S,
cb: &mut F
) where
F: FnMut(&QuadraticBezierSegment<S>),
Approximates a cubic bézier segment with a sequence of quadratic béziers.