Skip to main content

get_anchors

Function get_anchors 

Source
pub fn get_anchors(
    line: &[P],
    spacing: f64,
    max_angle: f64,
    has_text: bool,
    label_len: f64,
    glyph_size: f64,
    box_scale: f64,
    overscaling: f64,
    extent: f64,
) -> Vec<Anchor>
Expand description

getAnchors. label_len is the shaped label length (max of text and icon) in glyph units; has_text enables the angle window.