245 {
246 const Proc procs[] = {
248 };
250 { 0, 0 },
252 };
254
256 paint.setDither(fDither);
257
259
260 for (int i = 0; i <= 8; ++i) {
263 }
264
265
267 for (size_t i = 0; i < std::size(procs); ++i) {
269 procs[i](&rec);
273
276 canvas->
scale(-1, 1);
280
282 }
283 }
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
static void make1(ColorPos *rec)
static void make2(ColorPos *rec)
static void make3(ColorPos *rec)
static void make0(ColorPos *rec)
SkRect makeOutset(float dx, float dy) const
constexpr float centerX() const
constexpr float height() const
constexpr float width() const
static constexpr SkRect MakeWH(float w, float h)