fn centered_rect_size(w: u16, h: u16, r: Rect) -> RectExpand description
Return a rectangle centered in r by the given width and height percentages.
Shrink a rectangle to the given absolute width and height, centered.
Return a rectangle centered in r by the given width and height percentages.