| Function | Description | |
|---|---|---|
| calculateScaleRatioToFill | Calculates a scale value to maintain aspect ratio and fill the required bounds (with the possibility of cutting of the edges a bit). | |
| calculateScaleRatioToFit | Calculates a scale value to maintain aspect ratio and fit inside the required bounds (with the possibility of a bit of empty space on the edges). |