pub fn text_width(font: Font, size: f32, text: &str) -> f32
Width of text in points when set in font at size points.
text
font
size