Function limn_text_layout::line::width
[−]
[src]
pub fn width(text: &str, font: &Font, font_size: f32) -> f32
Produce the width of the given line of text including spaces (i.e. ' ').