Function smithay_client_toolkit::get_surface_scale_factor
source · [−]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
.