a2c

Function a2c 

Source
pub fn a2c(
    x1: f32,
    y1: f32,
    rx: f32,
    ry: f32,
    angle: f32,
    large_arc_flag: bool,
    sweep_flag: bool,
    x2: f32,
    y2: f32,
    recursive: Option<(f32, f32, f32, f32)>,
) -> Vec<f32>
Expand description

Converts an SVG elliptical arc to cubic Bézier curve segments.

Returned vector is flattened as [c1x, c1y, c2x, c2y, x, y, ...].