24 {
28
31 canvas->
scale(0.4f, 0.4f);
32 canvas->
rotate(-180.f/2.f);
33
41
42
44#ifndef USE_PATH
47 SkVector radii[4] = {{4,4}, {4,4}, {4,4}, {4,4}};
49#endif
51 for (
int i=0;
i<12;
i++){
53#ifdef USE_PATH
58#else
60#endif
61 }
63
64
66#ifdef USE_PATH
68#else
75#endif
76 for (
int i=0;
i<60;
i++){
78 canvas->
rotate(180.f/30.f);
79 continue;
80 }
81#ifdef USE_PATH
86#else
88#endif
89 canvas->
rotate(180.f/30.f);
90 }
92
93
98
99
101 canvas->
rotate(
time.fHour*(180.f/6.f) +
time.fMinute*(180.f/360.f)
102 +
time.fSecond*(180.f/21600.f) );
103#ifdef USE_PATH
109#else
117#endif
119
120
123 +
time.fSecond*(180.f/1800.f) );
124#ifdef USE_PATH
130#else
138#endif
140
141
147#ifdef USE_PATH
152#else
160#endif
162#ifdef USE_PATH
168#else
170#endif
172#ifdef USE_PATH
178#else
180#endif
182#ifdef USE_PATH
188#else
192#endif
194
198#ifdef USE_PATH
204#else
206#endif
207
209 }
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 double time(int loops, Benchmark *bench, Target *target)
static constexpr SkPoint Make(float x, float y)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)