Function epaint::shape::dashes_from_line

source ยท
fn dashes_from_line(
    path: &[Pos2],
    stroke: Stroke,
    dash_lengths: &[f32],
    gap_lengths: &[f32],
    shapes: &mut Vec<Shape>,
    dash_offset: f32,
)
Expand description

Creates dashes from a line.