[−][src]Function tetra::window::get_monitor_size
pub fn get_monitor_size(ctx: &Context, monitor_index: i32) -> Result<(i32, i32)>
Get the size of a monitor connected to the device.
Errors
TetraError::PlatformError
will be returned if the monitor state was inaccessible.