pub fn get_surface_scale_factor(surface: &WlSurface) -> i32
Expand description

Returns the current suggested scale factor of a surface.

Panics if the surface was not created using Environment::create_surface or Environment::create_surface_with_dpi_callback.