40 badMatrix.
setAll(0, 0, 0, 0, 0, 0, 0, 0, 0);
53 for (
int i = 0;
i < fPaints.
size(); ++
i) {
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorGREEN
void onOnceBeforeDraw() override
SkISize getISize() override
SkString getName() const override
void onDraw(SkCanvas *canvas) override
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
void allocN32Pixels(int width, int height, bool isOpaque=false)
void eraseColor(SkColor4f) const
void drawRect(const SkRect &rect, const SkPaint &paint)
SkMatrix & setAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, SkScalar skewY, SkScalar scaleY, SkScalar transY, SkScalar persp0, SkScalar persp1, SkScalar persp2)
void setColor(SkColor color)
void setShader(sk_sp< SkShader > shader)
sk_sp< SkBlender > blender SkRect rect
static constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)