7 for (
int x : { 0,
bounds.width() } ) {
8 for (
int y : { 0,
bounds.height() } ) {
REG_FIDDLE(Image_bounds, 256, 128, false, 4)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
Optional< SkRect > bounds
sk_sp< const SkImage > image