17 {
18
20
21
23
24
25
27
30
32 for (
int i = 0;
i < 2; ++
i) {
35
37
39
43 }
44
45
46
49
50
53
55
56
59 }
60
61
62
64
65
68 }
69}
constexpr SkColor SK_ColorMAGENTA
constexpr SkColor SK_ColorCYAN
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorGREEN
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void translate(SkScalar dx, SkScalar dy)
void drawPaint(const SkPaint &paint)
@ kInitWithPrevious_SaveLayerFlag
initializes with previous contents
void setImageFilter(sk_sp< SkImageFilter > imageFilter)
static constexpr SkPoint Make(float x, float y)
SkRect makeOutset(float dx, float dy) const
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
void roundOut(SkIRect *dst) const
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)