[][src]Function fltk::draw::width

pub fn width(txt: &str) -> f64

Returns the typographical width of a string