Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPreserveAspectRatio.cpp191 float origDestHeight = destRect.height(); in transformRect() local
197 if (origDestHeight > origDestWidth * widthToHeightMultiplier) { in transformRect()
203 destRect.setY(destRect.y() + origDestHeight / 2 - destRect.height() / 2); in transformRect()
208 destRect.setY(destRect.y() + origDestHeight - destRect.height()); in transformRect()
214 if (origDestWidth > origDestHeight / widthToHeightMultiplier) { in transformRect()
215 destRect.setWidth(origDestHeight / widthToHeightMultiplier); in transformRect()
236 if (origDestHeight < origDestWidth * widthToHeightMultiplier) { in transformRect()
255 if (origDestWidth < origDestHeight / widthToHeightMultiplier) { in transformRect()