Lines Matching refs:canvas
34 void onDrawContent(SkCanvas* canvas) override { in onDrawContent() argument
39 canvas->save(); in onDrawContent()
40 canvas->translate(150, 150); in onDrawContent()
41 canvas->scale(0.4f, 0.4f); in onDrawContent()
42 canvas->rotate(-180.f/2.f); in onDrawContent()
60 canvas->save(); in onDrawContent()
62 canvas->rotate(180.f/6.f); in onDrawContent()
67 canvas->drawPath(path, paintStroke); in onDrawContent()
69 canvas->drawRRect(rrect, paintFill); in onDrawContent()
72 canvas->restore(); in onDrawContent()
75 canvas->save(); in onDrawContent()
88 canvas->rotate(180.f/30.f); in onDrawContent()
95 canvas->drawPath(path, paintStroke); in onDrawContent()
97 canvas->drawRRect(rrect, paintFill); in onDrawContent()
99 canvas->rotate(180.f/30.f); in onDrawContent()
101 canvas->restore(); in onDrawContent()
109 canvas->save(); in onDrawContent()
110 canvas->rotate(time.fHour*(180.f/6.f) + time.fMinute*(180.f/360.f) in onDrawContent()
117 canvas->drawPath(path, paintStroke); in onDrawContent()
125 canvas->drawRRect(rrect, paintFill); in onDrawContent()
127 canvas->restore(); in onDrawContent()
130 canvas->save(); in onDrawContent()
131 canvas->rotate(time.fMinute*(180.f/30.f) in onDrawContent()
138 canvas->drawPath(path, paintStroke); in onDrawContent()
146 canvas->drawRRect(rrect, paintFill); in onDrawContent()
148 canvas->restore(); in onDrawContent()
151 canvas->save(); in onDrawContent()
152 canvas->rotate(time.fSecond*(180.f/30.f)); in onDrawContent()
160 canvas->drawPath(path, paintStroke); in onDrawContent()
168 canvas->drawRRect(rrect, paintFill); in onDrawContent()
176 canvas->drawPath(path, paintFill); in onDrawContent()
178 canvas->drawOval(rect, paintFill); in onDrawContent()
186 canvas->drawPath(path, paintStroke); in onDrawContent()
188 canvas->drawOval(rect, paintStroke); in onDrawContent()
196 canvas->drawPath(path, paintFill); in onDrawContent()
198 canvas->drawOval(rect, paintFill); in onDrawContent()
200 canvas->drawOval(rect, paintFill); in onDrawContent()
202 canvas->restore(); in onDrawContent()
212 canvas->drawPath(path, paintStroke); in onDrawContent()
214 canvas->drawOval(rect, paintStroke); in onDrawContent()
217 canvas->restore(); in onDrawContent()