31 canvas->
scale(0.4f, 0.4f);
32 canvas->
rotate(-180.f/2.f);
47 SkVector radii[4] = {{4,4}, {4,4}, {4,4}, {4,4}};
51 for (
int i=0;
i<12;
i++){
76 for (
int i=0;
i<60;
i++){
78 canvas->
rotate(180.f/30.f);
89 canvas->
rotate(180.f/30.f);
101 canvas->
rotate(
time.fHour*(180.f/6.f) +
time.fMinute*(180.f/360.f)
102 +
time.fSecond*(180.f/21600.f) );
123 +
time.fSecond*(180.f/1800.f) );
211 bool animate(
double )
override {
return true; }
constexpr SkColor SK_ColorBLACK
bool animate(double) override
void draw(SkCanvas *canvas) override
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)