Skip to main content

collision_path

Function collision_path 

Source
pub fn collision_path(
    pl: &ProjectedLine<'_>,
    glyph_offsets: &[f64],
    font_scale: f64,
    line_offset: (f64, f64),
) -> Option<Vec<P>>
Expand description

The projected path placeCollisionCircles builds from the first and last glyph (flip = false, rotateToLine = false), or None if they don’t fit.