9 for (
int i = 0;
i < (
N *
N); ++
i) {
13 for (
int i = 0;
i < (
N *
N); ++
i) {
18 for (
int i = 0;
i <
N; ++
i) {
19 for (
int j = 0; j <
N; ++j) {
constexpr SkColor SK_ColorWHITE
void swap(sk_sp< T > &a, sk_sp< T > &b)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool extractSubset(SkBitmap *dst, const SkIRect &subset) const
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
SI Vec< sizeof...(Ix), T > shuffle(const Vec< N, T > &)
static constexpr SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h)
REG_FIDDLE(subset_example, 512, 512, false, 3)