Home
last modified time | relevance | path

Searched refs:widthBoundsRotatedRect (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/qgis/qgis-3.22.3/src/core/layout/
H A Dqgslayoututils.cpp343 …double widthBoundsRotatedRect = originalWidth * std::fabs( cosAngle ) + originalHeight * std::fabs… in largestRotatedRectWithinBounds() local
348 double ratioBoundsRotatedRect = widthBoundsRotatedRect / heightBoundsRotatedRect; in largestRotatedRectWithinBounds()
349 …Scale = ratioBoundsRotatedRect > ratioBoundsRect ? boundsWidth / widthBoundsRotatedRect : boundsHe… in largestRotatedRectWithinBounds()
374 …undsRotatedRect > ratioBoundsRect ? 0 : ( boundsWidth - rectScale * widthBoundsRotatedRect ) / 2.0; in largestRotatedRectWithinBounds()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/layout/
H A Dqgslayoututils.cpp347 …double widthBoundsRotatedRect = originalWidth * std::fabs( cosAngle ) + originalHeight * std::fabs… in largestRotatedRectWithinBounds() local
352 double ratioBoundsRotatedRect = widthBoundsRotatedRect / heightBoundsRotatedRect; in largestRotatedRectWithinBounds()
353 …Scale = ratioBoundsRotatedRect > ratioBoundsRect ? boundsWidth / widthBoundsRotatedRect : boundsHe… in largestRotatedRectWithinBounds()
378 …undsRotatedRect > ratioBoundsRect ? 0 : ( boundsWidth - rectScale * widthBoundsRotatedRect ) / 2.0; in largestRotatedRectWithinBounds()