Skip to main content

flatten_arc

Function flatten_arc 

Source
fn flatten_arc(
    p0: Point,
    rx: f32,
    ry: f32,
    rot_deg: f32,
    large: bool,
    sweep: bool,
    p1: Point,
    out: &mut Vec<Segment>,
)
Expand description

楕円弧(端点パラメータ。SVG 1.1 付録 F.6.5 で中心パラメータへ変換)を直線セグメント列に展開する。 半径が 0 なら直線(F.6.6)。