Skip to main content

set_pointer

Function set_pointer 

Source
pub fn set_pointer(x: f32, y: f32)
Expand description

The latest pointer position (window-space logical px) — set by the engine on every pointer event. Read via PaintCtx::pointer: for widgets that must follow the finger CONTINUOUSLY during a drag (a clock hand sweeping to any angle), not just snap between discrete values.