pub fn offset_cubic(c: CubicBez, d: f64, tolerance: f64, result: &mut BezPath)Expand description
Compute an approximate offset curve.
The parallel curve of c offset by d is written to the result path.
There is a fair amount of attention to robustness, but this method is not suitable for degenerate cubics with entirely co-linear control points. Those cases should be handled before calling this function, by replacing them with linear segments.