70 {
72 p.setAntiAlias(fDoAAClip);
74
76
83
84
88
90 {650, 200},
91 {900, 300},
92 {650, 400},
93 {650, 300},
94 }, true);
98
99
103
108
109
110
115
121
123 }
constexpr SkColor SK_ColorYELLOW
constexpr SkColor SK_ColorGREEN
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void rotate(SkScalar degrees)
static SkPath Polygon(const SkPoint pts[], int count, bool isClosed, SkPathFillType=SkPathFillType::kWinding, bool isVolatile=false)
static SkRRect MakeOval(const SkRect &oval)
void emulateClipPathReplace(SkCanvas *canvas, const SkPath &path, bool aa)
void emulateDeviceRestriction(SkCanvas *canvas, const SkIRect &deviceRestriction)
void emulateClipRRectReplace(SkCanvas *canvas, const SkRRect &clipRRect, bool aa)
void emulateClipRectReplace(SkCanvas *canvas, const SkRect &clipRect, bool aa)
static constexpr SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)