Skip to main content

length_label

Function length_label 

Source
pub fn length_label(
    p1: [f32; 2],
    p2: [f32; 2],
    inst: &Instance,
    raw: &RawImage,
) -> String
Expand description

Distance between two displayed-pixel points in millimetres if pixel spacing is known, else pixels.