return *this;
copyBitmapData(other);
- setRect(other.rect());
+ setOriginalFrameRect(other.originalFrameRect());
setStatus(other.status());
setDuration(other.duration());
setDisposalMethod(other.disposalMethod());
return *this;
}
-void ImageFrame::clear()
+void ImageFrame::clearPixelData()
{
m_pixmap = QPixmap();
m_image = QImage();
// other metadata out of this frame later.
}
-void ImageFrame::zeroFill()
+void ImageFrame::zeroFillPixelData()
{
if (m_pixmap.isNull() && !m_image.isNull()) {
m_pixmap = QPixmap(m_image.width(), m_image.height());
if (m_pixmap.isNull())
return false;
- // Zero the image.
- zeroFill();
+ zeroFillPixelData();
return true;
}