Function image2::text::width

source ·
pub fn width(text: impl AsRef<str>, font: &Font<'_>, size: f32) -> usize
Expand description

Get size of text to be drawn