Function fltk::app::screen_dpi

source ·
pub fn screen_dpi(screen_num: i32) -> (f32, f32)
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.