23 {
27
30 canvas->
scale(0.4f, 0.4f);
31 canvas->
rotate(-180.f/2.f);
32
40
41
43#ifndef USE_PATH
46 SkVector radii[4] = {{4,4}, {4,4}, {4,4}, {4,4}};
48#endif
50 for (int i=0;i<12;i++){
52#ifdef USE_PATH
57#else
59#endif
60 }
62
63
65#ifdef USE_PATH
67#else
74#endif
75 for (int i=0;i<60;i++){
76 if (i%5 == 0) {
77 canvas->
rotate(180.f/30.f);
78 continue;
79 }
80#ifdef USE_PATH
85#else
87#endif
88 canvas->
rotate(180.f/30.f);
89 }
91
92
97
98
101 + time.
fSecond*(180.f/21600.f) );
102#ifdef USE_PATH
107 canvas->
drawPath(path, paintStroke);
108#else
116#endif
118
119
122 + time.
fSecond*(180.f/1800.f) );
123#ifdef USE_PATH
128 canvas->
drawPath(path, paintStroke);
129#else
137#endif
139
140
146#ifdef USE_PATH
150 canvas->
drawPath(path, paintStroke);
151#else
159#endif
161#ifdef USE_PATH
163 path.arcTo(rect, 0, 0,
false);
165 path.arcTo(rect, 360, 0,
true);
167#else
169#endif
171#ifdef USE_PATH
173 path.arcTo(rect, 0, 0,
false);
175 path.arcTo(rect, 360, 0,
true);
176 canvas->
drawPath(path, paintStroke);
177#else
178 canvas->
drawOval(rect, paintStroke);
179#endif
181#ifdef USE_PATH
183 path.arcTo(rect, 0, 0,
false);
185 path.arcTo(rect, 360, 0,
true);
187#else
191#endif
193
197#ifdef USE_PATH
199 path.arcTo(rect, 0, 0,
false);
201 path.arcTo(rect, 360, 0,
true);
202 canvas->
drawPath(path, paintStroke);
203#else
204 canvas->
drawOval(rect, paintStroke);
205#endif
206
208 }
constexpr SkColor SK_ColorBLACK
void drawOval(const SkRect &oval, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void rotate(SkScalar degrees)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
void drawPath(const SkPath &path, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
void setStyle(Style style)
void setColor(SkColor color)
void setAntiAlias(bool aa)
void setStrokeCap(Cap cap)
@ kStroke_Style
set to stroke geometry
void setStrokeWidth(SkScalar width)
void setRectRadii(const SkRect &rect, const SkVector radii[4])
void GetDateTime(SkPDF::DateTime *)
sk_sp< SkBlender > blender SkRect rect
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
static constexpr SkPoint Make(float x, float y)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)