pub fn round_stroke_to_device_pixel(logical: f32, scale_factor: f32) -> f32
Snaps a stroke width to at least one device pixel.