Function tetra::window::get_physical_width
source · pub fn get_physical_width(ctx: &Context) -> i32
Expand description
Returns the width of the window in physical pixels.
The output of this function may differ from the output of get_width
if
high DPI support is enabled.