Skip to main content

steps_from_pixels

Function steps_from_pixels 

Source
pub fn steps_from_pixels(pixels: f32) -> (i32, f32)
Expand description

Whole steps in pixels, and what is left over. Pure, so the touchpad arithmetic is tested without a window.