Function screen_dpi

pub fn screen_dpi(screen_num: i32) -> (f32, f32) 
Available on crate feature dep_fltk only.
Expand description

Returns a screen’s (vertical, horizontal) dpi resolution

If screen_num doesn’t correspond to a valid screen number, the main screen’s number (0) will be used instead.