41 if (!skia_this || !skia_other) {
45 return skia_this->
skia_image() == skia_other->skia_image();
Represents an image whose allocation is (usually) resident on device memory.
virtual DlISize GetSize() const =0
virtual std::optional< std::string > get_error() const
DlIRect GetBounds() const
bool Equals(const DlImage *other) const
virtual const DlImageSkia * asSkiaImage() const
Safe downcast to DlImageSkia.
virtual sk_sp< SkImage > skia_image() const
static constexpr TRect MakeSize(const TSize< U > &size)