Searched refs:widthScale (Results 1 – 5 of 5) sorted by relevance
84 void scale(float widthScale, float heightScale) in scale() argument86 m_width *= widthScale; in scale()123 float widthScale = width().toFloat() / aspectRatio.width().toFloat(); in fitToAspectRatio() local124 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow)) in fitToAspectRatio()
66 void scale(float widthScale, float heightScale) in scale() argument68 m_width = static_cast<int>(static_cast<float>(m_width) * widthScale); in scale()
262 float widthScale = destRect.width() / srcRect.width(); in mapRect() local264 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale, in mapRect()266 r.width() * widthScale, r.height() * heightScale); in mapRect()
227 float widthScale = (float)windowSize.width() / imageSize.width(); in scale() local230 return min(widthScale, heightScale); in scale()
251 float widthScale = m_image->hasRelativeWidth() ? 1.0f : multiplier; in imageSizeForRenderer() local254 imageSize.scale(widthScale, heightScale); in imageSizeForRenderer()