carnelian::drawing

Function path_for_polygon

Source
pub fn path_for_polygon(
    center: Point,
    radius: Coord,
    segment_count: usize,
    render_context: &mut Context,
) -> Path
Expand description

Create a render path for the specified polygon.