28 for (
int y = 0;
y < 4; ++
y) {
29 for (
int x = 0;
x < 4; ++
x) {
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
static SkMatrix Translate(SkScalar dx, SkScalar dy)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
sk_sp< SkBlender > blender SkRect rect
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
DEF_SIMPLE_GM(tilemodes_alpha, canvas, 512, 512)