Function text_extents

pub fn text_extents(txt: &str) -> (i32, i32, i32, i32) 
Available on crate feature dep_fltk only.
Expand description

Measure the coordinates and size of the text where a bounding box using the returned data would fit the text