Skip to main content

measure

Function measure 

pub fn measure<'a>(
    text: &mut TextRenderer,
    theme: &Theme,
    labels: impl IntoIterator<Item = &'a str>,
) -> Vec<LegendEntry>
Expand description

Measure each label as an entry: swatch, gap, label; one Caption line plus a tight step tall.