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.cpp206 float origDestHeight = destRect.height(); in transformRect() local
212 if (origDestHeight > origDestWidth * widthToHeightMultiplier) { in transformRect()
218 destRect.setY(destRect.y() + origDestHeight / 2 - destRect.height() / 2); in transformRect()
223 destRect.setY(destRect.y() + origDestHeight - destRect.height()); in transformRect()
229 if (origDestWidth > origDestHeight / widthToHeightMultiplier) { in transformRect()
230 destRect.setWidth(origDestHeight / widthToHeightMultiplier); in transformRect()
251 if (origDestHeight < origDestWidth * widthToHeightMultiplier) { in transformRect()
270 if (origDestWidth < origDestHeight / widthToHeightMultiplier) { in transformRect()