Function shape_outline

Source
fn shape_outline(
    style: &ShapeStyle,
    w: f32,
    h: f32,
    s: f32,
    out: &mut Vec<[f32; 2]>,
)
Expand description

Closed outline of a filled shape in project px, centred at the origin. s only sets how finely curves are subdivided (so a big shape at a big scale stays smooth).