Skip to main content

round_to_pitch

Function round_to_pitch 

Source
pub fn round_to_pitch(value: f32) -> f32
Expand description

Round a pixel offset to the nearest pin slot, in pixels.