Function carnelian::drawing::measure_text_size
source · pub fn measure_text_size(
face: &FontFace,
size: f32,
text: &str,
visual: bool
) -> Size
Expand description
Return the size in pixels for the specified text, face and size.