Skip to main content

text_width

Function text_width 

Source
pub fn text_width(font: Font, size: f32, text: &str) -> f32
Expand description

Width of text in points when set in font at size points.