Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/svg/
DSVGPreserveAspectRatio.cpp168 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local
169 if (origDestHeight > origDestWidth * widthToHeightMultiplier) { in transformRect()
170 destRect.setHeight(origDestWidth * widthToHeightMultiplier); in transformRect()
186 if (origDestWidth > origDestHeight / widthToHeightMultiplier) { in transformRect()
187 destRect.setWidth(origDestHeight / widthToHeightMultiplier); in transformRect()
206 float widthToHeightMultiplier = srcRect.height() / srcRect.width(); in transformRect() local
208 if (origDestHeight < origDestWidth * widthToHeightMultiplier) { in transformRect()
227 if (origDestWidth < origDestHeight / widthToHeightMultiplier) { in transformRect()