Searched refs:heightScale (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/platform/graphics/
H A DGeometryUtilities.cpp98 float heightScale = destRect.height() / srcRect.height(); local
100 destRect.y() + (r.y() - srcRect.y()) * heightScale,
101 r.width() * widthScale, r.height() * heightScale);
H A DLayoutSize.h84 void scale(float widthScale, float heightScale) argument
87 m_height *= heightScale;
124 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); local
127 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow))
H A DIntSize.h90 void scale(float widthScale, float heightScale) argument
93 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale);
/macosx-10.10/WebCore-7600.1.25/html/
H A DImageDocument.cpp288 float heightScale = viewportSize.height() / imageSize.height().toFloat(); local
290 return std::min(widthScale, heightScale);
/macosx-10.10/WebCore-7600.1.25/loader/cache/
H A DCachedImage.cpp312 float heightScale = m_image->hasRelativeHeight() ? 1.0f : multiplier; local
314 imageSize.scale(widthScale, heightScale);

Completed in 105 milliseconds