Go to the source code of this file.
|
| REG_FIDDLE (skpaint_bitmap_shader, 256, 256, false, 5) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skpaint_bitmap_shader |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
5 |
|
|
) |
| |
Definition at line 4 of file skpaint_bitmap_shader.cpp.
4 {
8 matrix.setScale(0.75f, 0.75f);
14}
15}
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