Lines Matching refs:srcR
91 static void bitmapproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapproc() argument
93 canvas->drawBitmapRect(bm, srcR, dstR, paint); in bitmapproc()
96 static void bitmapsubsetproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapsubsetproc() argument
98 if (!bm.bounds().contains(srcR)) { in bitmapsubsetproc()
99 bitmapproc(canvas, nullptr, bm, srcR, dstR, paint); in bitmapsubsetproc()
104 if (bm.extractSubset(&subset, srcR)) { in bitmapsubsetproc()
109 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect& srcR, in imageproc() argument
111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc()
115 const SkIRect& srcR, const SkRect& dstR, const SkPaint* paint) { in imagesubsetproc() argument
116 if (!image->bounds().contains(srcR)) { in imagesubsetproc()
117 imageproc(canvas, image, bm, srcR, dstR, paint); in imagesubsetproc()
121 if (sk_sp<SkImage> subset = image->makeSubset(srcR)) { in imagesubsetproc()