Skip to main content

chip_mono_width

Function chip_mono_width 

pub fn chip_mono_width(
    text_renderer: &mut TextRenderer,
    slice: &str,
    size: f32,
) -> f64
Expand description

Pulled out as a free function so the chip-sizing math is unit-testable independent of the full draw path.