10 SkIRect topPixelBounds = {0, 0, 1, 1};
11 pixmap.
erase({ 0.65f, 0.45f, 0.25f, 1 }, &topPixelBounds);
12 SkIRect bottomPixelBounds = {0, 1, 1, 2};
13 pixmap.
erase({ 0.25f, 0.65f, 0.45f, 1 }, &bottomPixelBounds);
15 canvas->
scale(20, 20);
16 bitmap.installPixels(pixmap);