Function carnelian::drawing::linebreak_text
source · pub fn linebreak_text(
face: &FontFace,
font_size: f32,
text: &str,
max_width: f32
) -> Vec<String>
Expand description
Break up text into chunks guaranteed to be no wider than max_width when rendered with face at font_size.