15 {
17
18
19
20
21
44
46
47
50 &offsetPoly);
53
54
59 if (offsetPoly.
size() == 4) {
64 }
65
66
67
72 if (offsetPoly.
size() == 2) {
75 }
76
77
80
81
110 bounds.setBoundsCheck(clippedRRectPoly.
begin(), clippedRRectPoly.
size());
111
113 clippedRRectPoly.
size()));
114
116 32.3699417f, &offsetPoly);
119
120
121
122
137
139
140
142 &offsetPoly);
145
147 &offsetPoly);
150
152 &offsetPoly);
155
156
158 &offsetPoly);
160
161
163 &offsetPoly);
165
166
168 &offsetPoly);
171
173 &offsetPoly);
176
178 &offsetPoly);
181
183 &offsetPoly);
186
200
201
204}
bool equals(SkDrawable *a, SkDrawable *b)
bool SkIsConvexPolygon(const SkPoint *polygonVerts, int polygonSize)
bool SkOffsetSimplePolygon(const SkPoint *inputPolygonVerts, int inputPolygonSize, const SkRect &bounds, SkScalar offset, SkTDArray< SkPoint > *offsetPolygon, SkTDArray< int > *polygonIndices)
bool SkIsSimplePolygon(const SkPoint *polygon, int polygonSize)
#define REPORTER_ASSERT(r, cond,...)
Optional< SkRect > bounds
static constexpr SkPoint Make(float x, float y)