Function to_logical_rect_from_recip

Source
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.