22 if (!srcR.
intersect({0, 0, srcWidth, srcHeight})) {
constexpr int32_t x() const
constexpr int32_t y() const
bool intersect(const SkIRect &r)
constexpr SkISize size() const
static constexpr SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h)
size_t minRowBytes() const
SkImageInfo makeDimensions(SkISize newSize) const
int bytesPerPixel() const
bool trim(int srcWidth, int srcHeight)