Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPreserveAspectRatio.cpp211 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local
212 if (origDestHeight > origDestWidth * widthToHeightMultiplier) { in transformRect()
213 destRect.setHeight(origDestWidth * widthToHeightMultiplier); in transformRect()
229 if (origDestWidth > origDestHeight / widthToHeightMultiplier) { in transformRect()
230 destRect.setWidth(origDestHeight / widthToHeightMultiplier); in transformRect()
249 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local
251 if (origDestHeight < origDestWidth * widthToHeightMultiplier) { in transformRect()
270 if (origDestWidth < origDestHeight / widthToHeightMultiplier) { in transformRect()