Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Variables
PolygonOffsetData Namespace Reference

Variables

const SkPoint gPoints0 []
 
const SkPoint gPoints1 []
 
const SkPoint gPoints2 []
 
const SkPoint gPoints3 []
 
const SkPoint gPoints4 []
 
const SkPoint gPoints5 []
 
const SkPoint gPoints6 []
 
const SkPoint gPoints7 []
 
const SkPoint gPoints8 []
 
const SkPoint gPoints9 []
 
const SkPoint gPoints10 []
 
const SkPoint gPoints11 []
 
const SkPoint gPoints12 []
 
const SkScalar kBottom = 25.f
 
const SkPoint gPoints13 []
 
const SkPoint gPoints14 []
 
const SkPoint gPoints15 []
 
const SkPoint gPoints16 []
 
const SkPoint gPoints17 []
 
const SkPoint gPoints18 []
 
const SkPointgConvexPoints []
 
const size_t gConvexSizes []
 
const SkPointgSimplePoints []
 
const size_t gSimpleSizes []
 

Variable Documentation

◆ gConvexPoints

const SkPoint* PolygonOffsetData::gConvexPoints[]
Initial value:
= {
gPoints0, gPoints1, gPoints2, gPoints3, gPoints4, gPoints5, gPoints6,
gPoints7, gPoints8, gPoints9, gPoints10,
}

Definition at line 372 of file polygonoffset.cpp.

372 {
373 gPoints0, gPoints1, gPoints2, gPoints3, gPoints4, gPoints5, gPoints6,
374 gPoints7, gPoints8, gPoints9, gPoints10,
375};

◆ gConvexSizes

const size_t PolygonOffsetData::gConvexSizes[]
Initial value:
= {
std::size(gPoints0),
std::size(gPoints1),
std::size(gPoints2),
std::size(gPoints3),
std::size(gPoints4),
std::size(gPoints5),
std::size(gPoints6),
std::size(gPoints7),
std::size(gPoints8),
std::size(gPoints9),
std::size(gPoints10),
}

Definition at line 377 of file polygonoffset.cpp.

377 {
378 std::size(gPoints0),
379 std::size(gPoints1),
380 std::size(gPoints2),
381 std::size(gPoints3),
382 std::size(gPoints4),
383 std::size(gPoints5),
384 std::size(gPoints6),
385 std::size(gPoints7),
386 std::size(gPoints8),
387 std::size(gPoints9),
388 std::size(gPoints10),
389};

◆ gPoints0

const SkPoint PolygonOffsetData::gPoints0[]
Initial value:
= {
{ -1.5f, -50.0f },
{ 1.5f, -50.0f },
{ 1.5f, 50.0f },
{ -1.5f, 50.0f }
}

Definition at line 46 of file polygonoffset.cpp.

46 {
47 { -1.5f, -50.0f },
48 { 1.5f, -50.0f },
49 { 1.5f, 50.0f },
50 { -1.5f, 50.0f }
51};

◆ gPoints1

const SkPoint PolygonOffsetData::gPoints1[]
Initial value:
= {
{ -50.0f, -49.0f },
{ -49.0f, -50.0f },
{ 50.0f, 49.0f },
{ 49.0f, 50.0f }
}

Definition at line 53 of file polygonoffset.cpp.

53 {
54 { -50.0f, -49.0f },
55 { -49.0f, -50.0f },
56 { 50.0f, 49.0f },
57 { 49.0f, 50.0f }
58};

◆ gPoints10

const SkPoint PolygonOffsetData::gPoints10[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 50.0f, 31.0f },
{ 40.0f, 50.0f },
{ -40.0f, 50.0f },
{ -50.0f, 31.0f },
}

Definition at line 143 of file polygonoffset.cpp.

143 {
144 { -10.0f, -50.0f },
145 { 10.0f, -50.0f },
146 { 50.0f, 31.0f },
147 { 40.0f, 50.0f },
148 { -40.0f, 50.0f },
149 { -50.0f, 31.0f },
150};

◆ gPoints11

const SkPoint PolygonOffsetData::gPoints11[]
Initial value:
= {
{ -45, -25 },
{ 45, -25 },
{ 45, 25 },
{ 20, 25 },
{ 19.6157f, 25.f + 3.9018f },
{ 18.4776f, 25.f + 7.6537f },
{ 16.6294f, 25.f + 11.1114f },
{ 14.1421f, 25.f + 14.1421f },
{ 11.1114f, 25.f + 16.6294f },
{ 7.6537f, 25.f + 18.4776f },
{ 3.9018f, 25.f + 19.6157f },
{ 0, 45.f },
{ -3.9018f, 25.f + 19.6157f },
{ -7.6537f, 25.f + 18.4776f },
{ -11.1114f, 25.f + 16.6294f },
{ -14.1421f, 25.f + 14.1421f },
{ -16.6294f, 25.f + 11.1114f },
{ -18.4776f, 25.f + 7.6537f },
{ -19.6157f, 25.f + 3.9018f },
{ -20, 25 },
{ -45, 25 }
}

Definition at line 153 of file polygonoffset.cpp.

153 {
154 { -45, -25 },
155 { 45, -25 },
156 { 45, 25 },
157 { 20, 25 },
158 { 19.6157f, 25.f + 3.9018f },
159 { 18.4776f, 25.f + 7.6537f },
160 { 16.6294f, 25.f + 11.1114f },
161 { 14.1421f, 25.f + 14.1421f },
162 { 11.1114f, 25.f + 16.6294f },
163 { 7.6537f, 25.f + 18.4776f },
164 { 3.9018f, 25.f + 19.6157f },
165 { 0, 45.f },
166 { -3.9018f, 25.f + 19.6157f },
167 { -7.6537f, 25.f + 18.4776f },
168 { -11.1114f, 25.f + 16.6294f },
169 { -14.1421f, 25.f + 14.1421f },
170 { -16.6294f, 25.f + 11.1114f },
171 { -18.4776f, 25.f + 7.6537f },
172 { -19.6157f, 25.f + 3.9018f },
173 { -20, 25 },
174 { -45, 25 }
175};

◆ gPoints12

const SkPoint PolygonOffsetData::gPoints12[]
Initial value:
= {
{ 0.0f, -50.0f },
{ 14.43f, -25.0f },
{ 43.30f, -25.0f },
{ 28.86f, 0.0f },
{ 43.30f, 25.0f },
{ 14.43f, 25.0f },
{ 0.0f, 50.0f },
{ -14.43f, 25.0f },
{ -43.30f, 25.0f },
{ -28.86f, 0.0f },
{ -43.30f, -25.0f },
{ -14.43f, -25.0f },
}

Definition at line 178 of file polygonoffset.cpp.

178 {
179 { 0.0f, -50.0f },
180 { 14.43f, -25.0f },
181 { 43.30f, -25.0f },
182 { 28.86f, 0.0f },
183 { 43.30f, 25.0f },
184 { 14.43f, 25.0f },
185 { 0.0f, 50.0f },
186 { -14.43f, 25.0f },
187 { -43.30f, 25.0f },
188 { -28.86f, 0.0f },
189 { -43.30f, -25.0f },
190 { -14.43f, -25.0f },
191};

◆ gPoints13

const SkPoint PolygonOffsetData::gPoints13[]
Initial value:
= {
{ -50, kBottom - 50.f },
{ 50, kBottom - 50.f },
{ 50, kBottom },
{ 20, kBottom },
{ 19.6157f, kBottom - 3.9018f },
{ 18.4776f, kBottom - 7.6537f },
{ 16.6294f, kBottom - 11.1114f },
{ 14.1421f, kBottom - 14.1421f },
{ 11.1114f, kBottom - 16.6294f },
{ 7.6537f, kBottom - 18.4776f },
{ 3.9018f, kBottom - 19.6157f },
{ 0, kBottom - 20.f },
{ -3.9018f, kBottom - 19.6157f },
{ -7.6537f, kBottom - 18.4776f },
{ -11.1114f, kBottom - 16.6294f },
{ -14.1421f, kBottom - 14.1421f },
{ -16.6294f, kBottom - 11.1114f },
{ -18.4776f, kBottom - 7.6537f },
{ -19.6157f, kBottom - 3.9018f },
{ -20, kBottom },
{ -50, kBottom }
}

Definition at line 195 of file polygonoffset.cpp.

195 {
196 { -50, kBottom - 50.f },
197 { 50, kBottom - 50.f },
198 { 50, kBottom },
199 { 20, kBottom },
200 { 19.6157f, kBottom - 3.9018f },
201 { 18.4776f, kBottom - 7.6537f },
202 { 16.6294f, kBottom - 11.1114f },
203 { 14.1421f, kBottom - 14.1421f },
204 { 11.1114f, kBottom - 16.6294f },
205 { 7.6537f, kBottom - 18.4776f },
206 { 3.9018f, kBottom - 19.6157f },
207 { 0, kBottom - 20.f },
208 { -3.9018f, kBottom - 19.6157f },
209 { -7.6537f, kBottom - 18.4776f },
210 { -11.1114f, kBottom - 16.6294f },
211 { -14.1421f, kBottom - 14.1421f },
212 { -16.6294f, kBottom - 11.1114f },
213 { -18.4776f, kBottom - 7.6537f },
214 { -19.6157f, kBottom - 3.9018f },
215 { -20, kBottom },
216 { -50, kBottom }
217};

◆ gPoints14

const SkPoint PolygonOffsetData::gPoints14[]
Initial value:
= {
{ -40, -39 },
{ 40, -39 },
{ 40, -20 },
{ 30, 40 },
{ 20, -20 },
{ 10, 40 },
{ 0, -20 },
{ -10, 40 },
{ -20, -20 },
{ -30, 40 },
{ -40, -20 }
}

Definition at line 220 of file polygonoffset.cpp.

220 {
221 { -40, -39 },
222 { 40, -39 },
223 { 40, -20 },
224 { 30, 40 },
225 { 20, -20 },
226 { 10, 40 },
227 { 0, -20 },
228 { -10, 40 },
229 { -20, -20 },
230 { -30, 40 },
231 { -40, -20 }
232};

◆ gPoints15

const SkPoint PolygonOffsetData::gPoints15[]

Definition at line 235 of file polygonoffset.cpp.

235 {
236 { -26, -3 },
237 { -24, -6.2f },
238 { -22.5f, -8 },
239 { -20, -9.9f },
240 { -17.5f, -10.3f },
241 { -15, -10.9f },
242 { -12.5f, -10.2f },
243 { -10, -9.7f },
244 { -7.5f, -8.1f },
245 { -5, -7.7f },
246 { -2.5f, -7.4f },
247 { 0, -7.7f },
248 { 3, -9 },
249 { 6.5f, -11.5f },
250 { 10.6f, -14 },
251 { 14, -15.2f },
252 { 17, -15.5f },
253 { 20, -15.2f },
254 { 23.4f, -14 },
255 { 27.5f, -11.5f },
256 { 30, -8 },
257 { 32, -4 },
258 { 32.5f, 0 },
259 { 32, 4 },
260 { 30, 8 },
261 { 27.5f, 11.5f },
262 { 23.4f, 14 },
263 { 20, 15.2f },
264 { 17, 15.5f },
265 { 14, 15.2f },
266 { 10.6f, 14 },
267 { 6.5f, 11.5f },
268 { 3, 9 },
269 { 0, 7.7f },
270 { -2.5f, 7.4f },
271 { -5, 7.7f },
272 { -7.5f, 8.1f },
273 { -10, 9.7f },
274 { -12.5f, 10.2f },
275 { -15, 10.9f },
276 { -17.5f, 10.3f },
277 { -20, 9.9f },
278 { -22.5f, 8 },
279 { -24, 6.2f },
280 { -26, 3 },
281 { -26.5f, 0 }
282};

◆ gPoints16

const SkPoint PolygonOffsetData::gPoints16[]
Initial value:
= {
{ -15 + 3, -9 },
{ -15 + 6.5f, -11.5f },
{ -15 + 10.6f, -14 },
{ -15 + 14, -15.2f },
{ -15 + 17, -15.5f },
{ -15 + 20, -15.2f },
{ -15 + 23.4f, -14 },
{ -15 + 27.5f, -11.5f },
{ -15 + 30, -8 },
{ -15 + 32, -4 },
{ -15 + 32.5f, 0 },
{ -15 + 32, 4 },
{ -15 + 30, 8 },
{ -15 + 27.5f, 11.5f },
{ -15 + 23.4f, 14 },
{ -15 + 20, 15.2f },
{ -15 + 17, 15.5f },
{ -15 + 14, 15.2f },
{ -15 + 10.6f, 14 },
{ -15 + 6.5f, 11.5f },
{ -15 + 3, 9 },
}

Definition at line 286 of file polygonoffset.cpp.

286 {
287 { -15 + 3, -9 },
288 { -15 + 6.5f, -11.5f },
289 { -15 + 10.6f, -14 },
290 { -15 + 14, -15.2f },
291 { -15 + 17, -15.5f },
292 { -15 + 20, -15.2f },
293 { -15 + 23.4f, -14 },
294 { -15 + 27.5f, -11.5f },
295 { -15 + 30, -8 },
296 { -15 + 32, -4 },
297 { -15 + 32.5f, 0 },
298 { -15 + 32, 4 },
299 { -15 + 30, 8 },
300 { -15 + 27.5f, 11.5f },
301 { -15 + 23.4f, 14 },
302 { -15 + 20, 15.2f },
303 { -15 + 17, 15.5f },
304 { -15 + 14, 15.2f },
305 { -15 + 10.6f, 14 },
306 { -15 + 6.5f, 11.5f },
307 { -15 + 3, 9 },
308};

◆ gPoints17

const SkPoint PolygonOffsetData::gPoints17[]
Initial value:
= {
{ -50, kBottom - 50.f },
{ 50, kBottom - 50.f },
{ 50, kBottom },
{ 20, kBottom },
{ 20, kBottom - 20.f },
{ -20, kBottom - 20.f },
{ -20, kBottom },
{ -50, kBottom }
}

Definition at line 312 of file polygonoffset.cpp.

312 {
313 { -50, kBottom - 50.f },
314 { 50, kBottom - 50.f },
315 { 50, kBottom },
316 { 20, kBottom },
317 { 20, kBottom - 20.f },
318 { -20, kBottom - 20.f },
319 { -20, kBottom },
320 { -50, kBottom }
321};

◆ gPoints18

const SkPoint PolygonOffsetData::gPoints18[]

Definition at line 324 of file polygonoffset.cpp.

324 {
325 { 0, 0 },
326 { 0, -12 },
327 { -6, -12 },
328 { -6, 0 },
329 { -12, 0 },
330 { -12, -12},
331 { -18, -12},
332 { -18, 18},
333 { -12, 18},
334 {-12, 6},
335 {-6, 6},
336 {-6, 36},
337 {-12, 36},
338 {-12, 24},
339 {-18, 24},
340 {-18, 36},
341 {-24, 36},
342 {-24, 24},
343 {-30, 24},
344 {-30, 36},
345 {-36, 36},
346 {-36, 6},
347 {-30, 6},
348 {-30, 18},
349 {-24, 18},
350 {-24, -12},
351 {-30, -12},
352 {-30, 0},
353 {-36, 0},
354 {-36, -36},
355 {36, -36},
356 {36, 36},
357 {12, 36},
358 {12, 24},
359 {6, 24},
360 {6, 36},
361 {0, 36},
362 {0, 6},
363 {6, 6},
364 {6, 18},
365 {12, 18},
366 {12, -12},
367 {6, -12},
368 {6, 0}
369};

◆ gPoints2

const SkPoint PolygonOffsetData::gPoints2[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 50.0f, 50.0f },
{ -50.0f, 50.0f }
}

Definition at line 60 of file polygonoffset.cpp.

60 {
61 { -10.0f, -50.0f },
62 { 10.0f, -50.0f },
63 { 50.0f, 50.0f },
64 { -50.0f, 50.0f }
65};

◆ gPoints3

const SkPoint PolygonOffsetData::gPoints3[]
Initial value:
= {
{ -50.0f, -50.0f },
{ 0.0f, -50.0f },
{ 50.0f, 50.0f },
{ 0.0f, 50.0f }
}

Definition at line 67 of file polygonoffset.cpp.

67 {
68 { -50.0f, -50.0f },
69 { 0.0f, -50.0f },
70 { 50.0f, 50.0f },
71 { 0.0f, 50.0f }
72};

◆ gPoints4

const SkPoint PolygonOffsetData::gPoints4[]
Initial value:
= {
{ -6.0f, -50.0f },
{ 4.0f, -50.0f },
{ 5.0f, -25.0f },
{ 6.0f, 0.0f },
{ 5.0f, 25.0f },
{ 4.0f, 50.0f },
{ -4.0f, 50.0f }
}

Definition at line 74 of file polygonoffset.cpp.

74 {
75 { -6.0f, -50.0f },
76 { 4.0f, -50.0f },
77 { 5.0f, -25.0f },
78 { 6.0f, 0.0f },
79 { 5.0f, 25.0f },
80 { 4.0f, 50.0f },
81 { -4.0f, 50.0f }
82};

◆ gPoints5

const SkPoint PolygonOffsetData::gPoints5[]
Initial value:
= {
{ -0.025f, -0.025f },
{ 0.025f, -0.025f },
{ 0.025f, 0.025f },
{ -0.025f, 0.025f }
}

Definition at line 84 of file polygonoffset.cpp.

84 {
85 { -0.025f, -0.025f },
86 { 0.025f, -0.025f },
87 { 0.025f, 0.025f },
88 { -0.025f, 0.025f }
89};

◆ gPoints6

const SkPoint PolygonOffsetData::gPoints6[]
Initial value:
= {
{ -20.0f, -13.0f },
{ -20.0f, -13.05f },
{ 20.0f, -13.0f },
{ 20.0f, 27.0f }
}

Definition at line 91 of file polygonoffset.cpp.

91 {
92 { -20.0f, -13.0f },
93 { -20.0f, -13.05f },
94 { 20.0f, -13.0f },
95 { 20.0f, 27.0f }
96};

◆ gPoints7

const SkPoint PolygonOffsetData::gPoints7[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 10.0f, -20.0f },
{ 10.0f, 0.0f },
{ 10.0f, 35.0f },
{ 10.0f, 50.0f },
{ -10.0f, 50.0f }
}

Definition at line 98 of file polygonoffset.cpp.

98 {
99 { -10.0f, -50.0f },
100 { 10.0f, -50.0f },
101 { 10.0f, -20.0f },
102 { 10.0f, 0.0f },
103 { 10.0f, 35.0f },
104 { 10.0f, 50.0f },
105 { -10.0f, 50.0f }
106};

◆ gPoints8

const SkPoint PolygonOffsetData::gPoints8[]
Initial value:
= {
{ 50.00f, 50.00f },
{ 0.00f, 50.00f },
{ -15.45f, 47.55f },
{ -29.39f, 40.45f },
{ -40.45f, 29.39f },
{ -47.55f, 15.45f },
{ -50.00f, 0.00f },
{ -47.55f, -15.45f },
{ -40.45f, -29.39f },
{ -29.39f, -40.45f },
{ -15.45f, -47.55f },
{ 0.00f, -50.00f },
{ 50.00f, -50.00f }
}

Definition at line 108 of file polygonoffset.cpp.

108 {
109 { 50.00f, 50.00f },
110 { 0.00f, 50.00f },
111 { -15.45f, 47.55f },
112 { -29.39f, 40.45f },
113 { -40.45f, 29.39f },
114 { -47.55f, 15.45f },
115 { -50.00f, 0.00f },
116 { -47.55f, -15.45f },
117 { -40.45f, -29.39f },
118 { -29.39f, -40.45f },
119 { -15.45f, -47.55f },
120 { 0.00f, -50.00f },
121 { 50.00f, -50.00f }
122};

◆ gPoints9

const SkPoint PolygonOffsetData::gPoints9[]
Initial value:
= {
{ 4.39f, 40.45f },
{ -9.55f, 47.55f },
{ -25.00f, 50.00f },
{ -40.45f, 47.55f },
{ -54.39f, 40.45f },
{ -65.45f, 29.39f },
{ -72.55f, 15.45f },
{ -75.00f, 0.00f },
{ -72.55f, -15.45f },
{ -65.45f, -29.39f },
{ -54.39f, -40.45f },
{ -40.45f, -47.55f },
{ -25.0f, -50.0f },
{ -9.55f, -47.55f },
{ 4.39f, -40.45f },
{ 75.00f, 0.00f }
}

Definition at line 124 of file polygonoffset.cpp.

124 {
125 { 4.39f, 40.45f },
126 { -9.55f, 47.55f },
127 { -25.00f, 50.00f },
128 { -40.45f, 47.55f },
129 { -54.39f, 40.45f },
130 { -65.45f, 29.39f },
131 { -72.55f, 15.45f },
132 { -75.00f, 0.00f },
133 { -72.55f, -15.45f },
134 { -65.45f, -29.39f },
135 { -54.39f, -40.45f },
136 { -40.45f, -47.55f },
137 { -25.0f, -50.0f },
138 { -9.55f, -47.55f },
139 { 4.39f, -40.45f },
140 { 75.00f, 0.00f }
141};

◆ gSimplePoints

const SkPoint* PolygonOffsetData::gSimplePoints[]
Initial value:
= {
gPoints0, gPoints1, gPoints2, gPoints4, gPoints5, gPoints7,
}
const SkPoint gPoints14[]
const SkPoint gPoints12[]
const SkPoint gPoints16[]
const SkPoint gPoints13[]
const SkPoint gPoints15[]
const SkPoint gPoints18[]
const SkPoint gPoints17[]
const SkPoint gPoints11[]

Definition at line 392 of file polygonoffset.cpp.

392 {
393 gPoints0, gPoints1, gPoints2, gPoints4, gPoints5, gPoints7,
396};

◆ gSimpleSizes

const size_t PolygonOffsetData::gSimpleSizes[]
Initial value:
= {
std::size(gPoints0),
std::size(gPoints1),
std::size(gPoints2),
std::size(gPoints4),
std::size(gPoints5),
std::size(gPoints7),
std::size(gPoints8),
std::size(gPoints11),
std::size(gPoints12),
std::size(gPoints13),
std::size(gPoints14),
std::size(gPoints15),
std::size(gPoints16),
std::size(gPoints17),
std::size(gPoints18),
}

Definition at line 398 of file polygonoffset.cpp.

398 {
399 std::size(gPoints0),
400 std::size(gPoints1),
401 std::size(gPoints2),
402 std::size(gPoints4),
403 std::size(gPoints5),
404 std::size(gPoints7),
405 std::size(gPoints8),
406 std::size(gPoints11),
407 std::size(gPoints12),
408 std::size(gPoints13),
409 std::size(gPoints14),
410 std::size(gPoints15),
411 std::size(gPoints16),
412 std::size(gPoints17),
413 std::size(gPoints18),
414};

◆ kBottom

const SkScalar PolygonOffsetData::kBottom = 25.f

Definition at line 194 of file polygonoffset.cpp.