pub fn ceil_to_device_pixel(logical: f32, scale_factor: f32) -> f32
Rounds a logical coordinate up to a device pixel boundary.