Skip to main content

append_rectangle

Function append_rectangle 

Source
pub fn append_rectangle(
    path: &mut Vec<PathSegment>,
    x0: f32,
    y0: f32,
    x1: f32,
    y1: f32,
    radius: f32,
)
Expand description

Appends a rectangle to an outline, for many rectangles in one shape.