Lines Matching refs:m_image

57     , m_image(0)
67 , m_image(image)
103 if (m_data && !m_image && !errorOccurred()) {
105 m_image->setData(m_data, true);
108 if (m_image && !m_image->isNull())
116 if (m_image && !errorOccurred())
117 m_image->resetAnimation();
135 if (m_image)
136 return m_image.get();
143 if (m_image)
144 m_image->setContainerSize(containerSize);
149 if (m_image)
150 return m_image->usesContainerSize();
157 if (m_image)
158 return m_image->hasRelativeWidth();
165 if (m_image)
166 return m_image->hasRelativeHeight();
175 if (!m_image)
178 return m_image->size();
181 bool hasWidth = m_image->size().width() > 0;
182 bool hasHeight = m_image->size().height() > 0;
183 int width = m_image->size().width() * (m_image->hasRelativeWidth() ? 1.0f : multiplier);
184 int height = m_image->size().height() * (m_image->hasRelativeHeight() ? 1.0f : multiplier);
196 if (!m_image)
198 if (multiplier == 1.0f || (!m_image->hasRelativeWidth() && !m_image->hasRelativeHeight()))
199 return m_image->rect();
201 float widthMultiplier = (m_image->hasRelativeWidth() ? 1.0f : multiplier);
202 float heightMultiplier = (m_image->hasRelativeHeight() ? 1.0f : multiplier);
205 bool hasWidth = m_image->rect().width() > 0;
206 bool hasHeight = m_image->rect().height() > 0;
208 int width = static_cast<int>(m_image->rect().width() * widthMultiplier);
209 int height = static_cast<int>(m_image->rect().height() * heightMultiplier);
215 int x = static_cast<int>(m_image->rect().x() * widthMultiplier);
216 int y = static_cast<int>(m_image->rect().y() * heightMultiplier);
240 m_image = 0;
247 if (m_image)
251 m_image = PDFDocumentImage::create();
257 m_image = SVGImage::create(this);
261 m_image = BitmapImage::create(this);
263 m_image->setURL(url());
287 sizeAvailable = m_image->setData(m_data, allDataReceived);
297 if (m_image->isNull() || (maxDecodedImageSize > 0 && estimatedDecodedImageSize > maxDecodedImageSize)) {
308 if (m_image)
309 setEncodedSize(m_image->data() ? m_image->data()->size() : 0);
332 bool canDeleteImage = !m_image || (m_image->hasOneRef() && m_image->isBitmapImage());
336 m_image = 0;
340 } else if (m_image && !errorOccurred())
341 m_image->destroyDecodedData();
346 if (image != m_image)
354 if (image != m_image)
366 if (image != m_image)
380 if (image == m_image)
386 if (image == m_image)