Lines Matching refs:srcR
108 static void bitmapproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapproc() argument
111 canvas->drawImageRect(bm.asImage(), SkRect::Make(srcR), dstR, sampling, paint, in bitmapproc()
115 static void bitmapsubsetproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapsubsetproc() argument
118 if (!bm.bounds().contains(srcR)) { in bitmapsubsetproc()
119 bitmapproc(canvas, nullptr, bm, srcR, dstR, sampling, paint); in bitmapsubsetproc()
124 if (bm.extractSubset(&subset, srcR)) { in bitmapsubsetproc()
129 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect& srcR, in imageproc() argument
131 canvas->drawImageRect(image, SkRect::Make(srcR), dstR, sampling, paint, in imageproc()
136 const SkIRect& srcR, const SkRect& dstR, in imagesubsetproc() argument
138 if (!image->bounds().contains(srcR)) { in imagesubsetproc()
139 imageproc(canvas, image, bm, srcR, dstR, sampling, paint); in imagesubsetproc()
144 if (sk_sp<SkImage> subset = image->makeSubset(srcR, direct)) { in imagesubsetproc()