Parameter | Description |
---|---|
rectToFit | Rectangle to fit. |
clientRect | Parent rectangle. |
border | Border size. |
frameTranslation | Calculated translation. |
frameScaling | Calculated scaling. |
Calculate the view transform based on zoom level and the size of the window or parent.