3.3.4.20. Function GenerateZoomCompliantSize

3.3.4.20.1. Function Documentation

Size sirius::utils::GenerateZoomCompliantSize(const Size &size, const ZoomRatio &zoom_r)

Resize given dimensions so it matches with given zoom ratio.

Return
zoom compliant sizes
Parameters
  • size: size to be resized
  • zoom_r: zoom ratio