4REG_FIDDLE(skpaint_bitmap_shader, 256, 256,
false, 5) {
8 matrix.setScale(0.75f, 0.75f);
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPaint(const SkPaint &paint)
void clear(SkColor color)
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
REG_FIDDLE(skpaint_bitmap_shader, 256, 256, false, 5)