Home | History | Annotate | Download | only in loader

Lines Matching full:width

183     // Don't let images that have a width/height >= 1 shrink below 1 when zoomed.
184 bool hasWidth = m_image->size().width() > 0;
186 int width = m_image->size().width() * (m_image->hasRelativeWidth() ? 1.0f : multiplier);
189 width = max(1, width);
192 return IntSize(width, height);
207 // Don't let images that have a width/height >= 1 shrink below 1 when zoomed.
208 bool hasWidth = m_image->rect().width() > 0;
211 int width = static_cast<int>(m_image->rect().width() * widthMultiplier);
214 width = max(1, width);
221 return IntRect(x, y, width, height);
290 size_t estimatedDecodedImageSize = s.width() * s.height() * 4; // no overflow check