Lines Matching refs:SkIntToScalar
17 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); in make_triangle()
18 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle()
19 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle()
21 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_triangle()
22 return SkIntToScalar(30); in make_triangle()
26 SkRect r = { SkIntToScalar(10), SkIntToScalar(10), in make_rect()
27 SkIntToScalar(30), SkIntToScalar(30) }; in make_rect()
29 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_rect()
30 return SkIntToScalar(30); in make_rect()
34 SkRect r = { SkIntToScalar(10), SkIntToScalar(10), in make_oval()
35 SkIntToScalar(30), SkIntToScalar(30) }; in make_oval()
37 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_oval()
38 return SkIntToScalar(30); in make_oval()
42 const SkScalar c = SkIntToScalar(45); in make_star()
43 const SkScalar r = SkIntToScalar(20); in make_star()
76 return SkIntToScalar(70); in make_three_line()
94 return SkIntToScalar(70); in make_arrow()
105 return SkIntToScalar(40); in make_curve()
131 return SkIntToScalar(50); in make_battery()
154 return SkIntToScalar(70); in make_battery2()
244 canvas->translate(SkIntToScalar(120), SkIntToScalar(0)); in onDraw()
257 canvas->translate(SkIntToScalar(120), SkIntToScalar(0)); in onDraw()
270 canvas->translate(SkIntToScalar(120), SkIntToScalar(0)); in onDraw()