[][src]Function tetra::window::get_current_monitor_size

pub fn get_current_monitor_size(ctx: &Context) -> Result<(i32, i32)>

Get the size of the monitor that the window is currently on.

Errors

  • TetraError::PlatformError will be returned if the monitor state was inaccessible.