Skip to main content

str_width

Function str_width 

Source
pub fn str_width(s: &str, font_scale: f32) -> f32
Expand description

Pixel width of a string at the given font scale.