Function view_transform
pub fn view_transform(transform: Affine, rect: Rect) -> AffineExpand description
The transform that draws a view laid out at VIEW’s size from the
origin into rect, through transform: as large as fits, keeping its
proportions, from rect’s corner.