carnelian::drawing

Function path_for_rounded_rectangle

Source
pub fn path_for_rounded_rectangle(
    bounds: &Rect,
    corner_radius: Coord,
    render_context: &mut Context,
) -> Path
Expand description

Create a render path for the specified rounded rectangle.