Skip to main content

svg_arc_to_center

Function svg_arc_to_center 

Source
fn svg_arc_to_center(
    x1: f32,
    y1: f32,
    rx: f32,
    ry: f32,
    angle_deg: f32,
    large_arc: bool,
    sweep: bool,
    x2: f32,
    y2: f32,
) -> Option<(f32, f32, f32, f32, f32, f32, f32, bool)>
Expand description

W3C SVG 1.1 Appendix F.6.5: 端点パラメータ (x1, y1, rx, ry, phi, large_arc, sweep, x2, y2) を中心パラメータ (cx, cy, rx, ry, phi, theta1, theta2, anticlockwise) に変換する。