4REG_FIDDLE(Canvas_drawImageRect_3, 256, 256,
false, 4) {
7 for (
auto i : { 20, 40, 80, 160 } ) {
REG_FIDDLE(Canvas_drawImageRect_3, 256, 256, false, 4)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
sk_sp< const SkImage > image
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)