Skip to main content

RunWidth

Type Alias RunWidth 

Source
pub type RunWidth<'a> = &'a dyn Fn(&str, f64, FontFace) -> f64;
Expand description

Measures a run: (text, size, face) -> width in px.