iced_winit::conversion

Function cursor_position

Source
pub fn cursor_position(
    position: PhysicalPosition<f64>,
    scale_factor: f64,
) -> Point
Expand description

Converts a physical cursor position to a logical Point.