Searched refs:widthBoundsRotatedRect (Results 1 – 2 of 2) sorted by relevance
343 …double widthBoundsRotatedRect = originalWidth * std::fabs( cosAngle ) + originalHeight * std::fabs… in largestRotatedRectWithinBounds() local348 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()
347 …double widthBoundsRotatedRect = originalWidth * std::fabs( cosAngle ) + originalHeight * std::fabs… in largestRotatedRectWithinBounds() local352 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()