cosmic::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.