re_view_spatial::ui_2d

Function scale_rect

Source
fn scale_rect(rect: Rect, factor: Vec2) -> Rect