RGBA32Buffer& RGBA32Buffer::operator=(const RGBA32Buffer& other) { if (this == &other) return *this; copyBitmapData(other); setRect(other.rect()); setStatus(other.status()); setDuration(other.duration()); setDisposalMethod(other.disposalMethod()); return *this; }
ImageFrame& ImageFrame::operator=(const ImageFrame& other) { if (this == &other) return *this; copyBitmapData(other); setOriginalFrameRect(other.originalFrameRect()); setStatus(other.status()); setDuration(other.duration()); setDisposalMethod(other.disposalMethod()); setPremultiplyAlpha(other.premultiplyAlpha()); return *this; }
void ImageFrame::copyReferenceToBitmapData(const ImageFrame& other) { ASSERT(this != &other); copyBitmapData(other); }