Function sixtyfps::testing::set_window_scale_factor[][src]

pub fn set_window_scale_factor<X: HasStaticVTable<ComponentVTable> + HasWindow, Component: Into<VRc<ComponentVTable, X>> + ComponentHandle>(
    component: &Component,
    factor: f32
)
Expand description

Applies the specified scale factor to the window that’s associated with the given component. This overrides the value provided by the windowing system.