Function tetra::window::get_width[][src]

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

Gets the width of the window.

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