pub fn to_logical_rect_from_recip(
rect: PhysicalRect,
scale_factor_recip: f32,
) -> Rect
Expand description
Convert a rectangle from logical points to physical pixels using the reciprocal of the scale factor.
pub fn to_logical_rect_from_recip(
rect: PhysicalRect,
scale_factor_recip: f32,
) -> Rect
Convert a rectangle from logical points to physical pixels using the reciprocal of the scale factor.