31 {
32 {
34 enum {
35 kNumAngles = 15,
37 };
38 for (int i = 0; i < kNumAngles; ++i) {
43 }
45 }
46
48 .quadTo(100, 100, -10, 0)
49 .detach());
50
52 .quadTo(100, 100, -5, 0)
53 .detach());
54
56 .quadTo(100, 100, -2, 0)
57 .detach());
58
60 .quadTo(100, 100, -2 + 306.0f / 4, 75)
61 .detach());
62
64 .quadTo(100, 100, -1, 0)
65 .detach());
66
68 .quadTo(100, 100, 0, 0)
69 .detach());
70
72 .quadTo(100, 100, 75, 75)
73 .detach());
74
75
76
77
79 .cubicTo(5, 6, 5, 4, 4, 0)
80 .close()
81 .detach());
82
84 .lineTo( 4.32787323f, 1.67212653f)
85 .cubicTo(2.75223875f, 3.24776125f,
86 3.00581908f, 4.51236057f,
87 3.7580452f, 4.37367964f)
88 .cubicTo(4.66472578f, 3.888381f,
89 5.f, 2.875f,
90 5.f, 1.f)
91 .close()
92 .detach());
93
94
95
97 .lineTo(3.5f,0.5f)
98 .moveTo(0.5f,5.5f)
99 .lineTo(3.5f,0.5f)
100 .detach());
101
102
104 .lineTo(6, 6)
105 .moveTo(1, 6)
106 .lineTo(6, 1)
107 .detach());
108
109
111 .lineTo(5.5f, 0.5f)
112 .lineTo(0.5f, 0.5f)
113 .detach());
114
115 {
116
118 constexpr SkScalar kStartAngle = 262.59717f;
120
122
123
125 bug.
addArc(circle, kStartAngle, kSweepAngle);
126
127
130
133
137 }
138 }
#define SkDegreesToRadians(degrees)
#define SkScalarSin(radians)
#define SkScalarCos(radians)
SkPathBuilder & lineTo(SkPoint pt)
SkPathBuilder & addArc(const SkRect &oval, SkScalar startAngleDeg, SkScalar sweepAngleDeg)
SkPathBuilder & moveTo(SkPoint pt)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)