pub fn window_scale_factor() -> Component<f64>
Expand description

Window scale factor: The DPI/pixel scale factor of the window.

On standard displays, this is 1, but it can be higher on high-DPI displays like Apple Retina displays.

Attributes: MaybeResource, Debuggable, Networked