Lines Matching full:imagesize
227 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
230 float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat();
231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat();
241 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
244 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale));
245 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale));
296 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f);
297 m_imageElement->setWidth(imageSize.width());
298 m_imageElement->setHeight(imageSize.height());
317 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
320 return imageSize.width() <= windowSize.width() && imageSize.height() <= windowSize.height();