Skip to main content

wrap_width

Function wrap_width 

Source
pub fn wrap_width(max_width: f32, advance_headroom: f32) -> f32
Expand description

The width lines of a text max_width wide (non-positive for any width) break at when animation can widen its advances by advance_headroom (TextRasterRequest::advance_headroom).