Function tetra::window::get_size[][src]

pub fn get_size(ctx: &Context) -> (i32, i32)
Expand description

Gets the size of the window.

This function will return a consistent value regardless of whether high DPI support is enabled. To find the physical size of the window, call get_physical_size.