29 constexpr int gCoord[] = {
70 for (
int i = 1;
i < n;
i++) {
75 return {
b.detach(), r * 2 * 6 / 5 };
85 b.moveTo(-32.5f + xOffset, 0.0f + yOffset);
86 b.lineTo(32.5f + xOffset, 0.0f + yOffset);
88 b.moveTo(-32.5f + xOffset, 19 + yOffset);
89 b.lineTo(32.5f + xOffset, 19 + yOffset);
91 b.moveTo(-32.5f + xOffset, -19 + yOffset);
92 b.lineTo(32.5f + xOffset, -19 + yOffset);
93 b.lineTo(-32.5f + xOffset, -19 + yOffset);
97 return {
b.detach(), 70 };
104 b.moveTo(-26.f + xOffset, 0.0f + yOffset);
105 b.lineTo(26.f + xOffset, 0.0f + yOffset);
107 b.moveTo(-28.f + xOffset, -2.4748745f + yOffset);
108 b.lineTo(0 + xOffset, 25.525126f + yOffset);
110 b.moveTo(-28.f + xOffset, 2.4748745f + yOffset);
111 b.lineTo(0 + xOffset, -25.525126f + yOffset);
112 b.lineTo(-28.f + xOffset, 2.4748745f + yOffset);
116 return {
b.detach(), 70 };
123 b.moveTo(491 + xOffset, 56 + yOffset);
124 b.conicTo(435.93292f + xOffset, 56.000031f + yOffset,
125 382.61078f + xOffset, 69.752716f + yOffset,
128 return {
b.detach(), 40 };
135 b.moveTo(24.67f + xOffset, 0.33000004f);
136 b.lineTo(8.3299999f + xOffset, 0.33000004f);
137 b.lineTo(8.3299999f + xOffset, 5.3299999f);
138 b.lineTo(0.33000004f + xOffset, 5.3299999f);
139 b.lineTo(0.33000004f + xOffset, 50.669998f);
140 b.lineTo(32.669998f + xOffset, 50.669998f);
141 b.lineTo(32.669998f + xOffset, 5.3299999f);
142 b.lineTo(24.67f + xOffset, 5.3299999f);
143 b.lineTo(24.67f + xOffset, 0.33000004f);
146 b.moveTo(25.727224f + xOffset, 12.886665f);
147 b.lineTo(10.907918f + xOffset, 12.886665f);
148 b.lineTo(7.5166659f + xOffset, 28.683645f);
149 b.lineTo(14.810181f + xOffset, 28.683645f);
150 b.lineTo(7.7024879f + xOffset, 46.135998f);
151 b.lineTo(28.049999f + xOffset, 25.136419f);
152 b.lineTo(16.854223f + xOffset, 25.136419f);
153 b.lineTo(25.727224f + xOffset, 12.886665f);
155 return {
b.detach(), 50 };
162 b.moveTo(32.669998f + xOffset, 9.8640003f);
163 b.lineTo(0.33000004f + xOffset, 9.8640003f);
164 b.lineTo(0.33000004f + xOffset, 50.669998f);
165 b.lineTo(32.669998f + xOffset, 50.669998f);
166 b.lineTo(32.669998f + xOffset, 9.8640003f);
169 b.moveTo(10.907918f + xOffset, 12.886665f);
170 b.lineTo(25.727224f + xOffset, 12.886665f);
171 b.lineTo(16.854223f + xOffset, 25.136419f);
172 b.lineTo(28.049999f + xOffset, 25.136419f);
173 b.lineTo(7.7024879f + xOffset, 46.135998f);
174 b.lineTo(14.810181f + xOffset, 28.683645f);
175 b.lineTo(7.5166659f + xOffset, 28.683645f);
176 b.lineTo(10.907918f + xOffset, 12.886665f);
179 return {
b.detach(), 60 };
188 b.moveTo(xOffset + 144.859f, yOffset + 285.172f);
189 b.lineTo(xOffset + 144.859f, yOffset + 285.172f);
190 b.lineTo(xOffset + 144.859f, yOffset + 285.172f);
191 b.lineTo(xOffset + 143.132f, yOffset + 284.617f);
192 b.lineTo(xOffset + 144.859f, yOffset + 285.172f);
194 b.moveTo(xOffset + 135.922f, yOffset + 286.844f);
195 b.lineTo(xOffset + 135.922f, yOffset + 286.844f);
196 b.lineTo(xOffset + 135.922f, yOffset + 286.844f);
197 b.lineTo(xOffset + 135.367f, yOffset + 288.571f);
198 b.lineTo(xOffset + 135.922f, yOffset + 286.844f);
200 b.moveTo(xOffset + 135.922f, yOffset + 286.844f);
201 b.cubicTo(xOffset + 137.07f, yOffset + 287.219f, xOffset + 138.242f, yOffset + 287.086f,
202 xOffset + 139.242f, yOffset + 286.578f);
203 b.cubicTo(xOffset + 140.234f, yOffset + 286.078f, xOffset + 141.031f, yOffset + 285.203f,
204 xOffset + 141.406f, yOffset + 284.055f);
205 b.lineTo(xOffset + 144.859f, yOffset + 285.172f);
206 b.cubicTo(xOffset + 143.492f, yOffset + 289.375f, xOffset + 138.992f, yOffset + 291.656f,
207 xOffset + 134.797f, yOffset + 290.297f);
208 b.lineTo(xOffset + 135.922f, yOffset + 286.844f);
210 b.moveTo(xOffset + 129.68f, yOffset + 280.242f);
211 b.lineTo(xOffset + 129.68f, yOffset + 280.242f);
212 b.lineTo(xOffset + 129.68f, yOffset + 280.242f);
213 b.lineTo(xOffset + 131.407f, yOffset + 280.804f);
214 b.lineTo(xOffset + 129.68f, yOffset + 280.242f);
216 b.moveTo(xOffset + 133.133f, yOffset + 281.367f);
217 b.cubicTo(xOffset + 132.758f, yOffset + 282.508f, xOffset + 132.883f, yOffset + 283.687f,
218 xOffset + 133.391f, yOffset + 284.679f);
219 b.cubicTo(xOffset + 133.907f, yOffset + 285.679f, xOffset + 134.774f, yOffset + 286.468f,
220 xOffset + 135.922f, yOffset + 286.843f);
221 b.lineTo(xOffset + 134.797f, yOffset + 290.296f);
222 b.cubicTo(xOffset + 130.602f, yOffset + 288.929f, xOffset + 128.313f, yOffset + 284.437f,
223 xOffset + 129.68f, yOffset + 280.241f);
224 b.lineTo(xOffset + 133.133f, yOffset + 281.367f);
226 b.moveTo(xOffset + 139.742f, yOffset + 275.117f);
227 b.lineTo(xOffset + 139.742f, yOffset + 275.117f);
228 b.lineTo(xOffset + 139.18f, yOffset + 276.844f);
229 b.lineTo(xOffset + 139.742f, yOffset + 275.117f);
231 b.moveTo(xOffset + 138.609f, yOffset + 278.57f);
232 b.cubicTo(xOffset + 137.461f, yOffset + 278.203f, xOffset + 136.297f, yOffset + 278.328f,
233 xOffset + 135.297f, yOffset + 278.836f);
234 b.cubicTo(xOffset + 134.297f, yOffset + 279.344f, xOffset + 133.508f, yOffset + 280.219f,
235 xOffset + 133.133f, yOffset + 281.367f);
236 b.lineTo(xOffset + 129.68f, yOffset + 280.242f);
237 b.cubicTo(xOffset + 131.047f, yOffset + 276.039f, xOffset + 135.539f, yOffset + 273.758f,
238 xOffset + 139.742f, yOffset + 275.117f);
239 b.lineTo(xOffset + 138.609f, yOffset + 278.57f);
241 b.moveTo(xOffset + 141.406f, yOffset + 284.055f);
242 b.cubicTo(xOffset + 141.773f, yOffset + 282.907f, xOffset + 141.648f, yOffset + 281.735f,
243 xOffset + 141.148f, yOffset + 280.735f);
244 b.cubicTo(xOffset + 140.625f, yOffset + 279.735f, xOffset + 139.757f, yOffset + 278.946f,
245 xOffset + 138.609f, yOffset + 278.571f);
246 b.lineTo(xOffset + 139.742f, yOffset + 275.118f);
247 b.cubicTo(xOffset + 143.937f, yOffset + 276.493f, xOffset + 146.219f, yOffset + 280.977f,
248 xOffset + 144.859f, yOffset + 285.173f);
249 b.lineTo(xOffset + 141.406f, yOffset + 284.055f);
255 return {
b.detach(), 15 };
317#define N std::size(gProcs)
328 for (
size_t i = 0;
i <
N;
i++) {
341 paint.setAntiAlias(
true);
345 for (
size_t i = 0;
i <
N;
i++) {
356 for (
size_t i = 0;
i <
N;
i++) {
369 for (
size_t i = 0;
i <
N;
i++) {
381 for (
size_t i = 0;
i <
N;
i++) {
#define SkScalarSin(radians)
#define SkScalarCos(radians)
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kButt_Cap
no stroke extension
@ kStroke_Style
set to stroke geometry
@ kStrokeAndFill_Style
sets to stroke and fill geometry
SkPathBuilder & lineTo(SkPoint pt)
SkPathBuilder & moveTo(SkPoint pt)
SkPathBuilder & offset(SkScalar dx, SkScalar dy)
static SkPath Rect(const SkRect &, SkPathDirection=SkPathDirection::kCW, unsigned startIndex=0)
static SkPath Oval(const SkRect &, SkPathDirection=SkPathDirection::kCW)
void onOnceBeforeDraw() override
SkString getName() const override
void onDraw(SkCanvas *canvas) override
SkISize getISize() override
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static PathDY make_curve()
constexpr MakePathProc gProcs[]
static PathDY make_battery2()
static PathDY make_arrow()
static PathDY make_star_13()
static PathDY make_ring()
static PathDY make_star_5()
static PathDY make_triangle()
static PathDY make_star(int n)
constexpr SkScalar gMiters[]
constexpr SkScalar gWidths[]
static PathDY make_rect()
static PathDY make_battery()
static PathDY make_three_line()
constexpr SkScalar gXTranslate[]
static PathDY make_oval()
static constexpr SkISize Make(int32_t w, int32_t h)
constexpr SkRect makeOffset(float dx, float dy) const