6 canvas->
scale(.5f, .5f);
10 for (
int x = 0;
x < 512;
x +=
width ) {
REG_FIDDLE(Image_makeSubset, 256, 256, false, 3)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void scale(SkScalar sx, SkScalar sy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
virtual sk_sp< SkImage > makeSubset(GrDirectContext *direct, const SkIRect &subset) const =0
sk_sp< const SkImage > image