• Home
  • Raw
  • Download

Lines Matching refs:SkIntToScalar

14     SkRect r = { SkIntToScalar(10), SkIntToScalar(10),  in make_frame()
15 SkIntToScalar(630), SkIntToScalar(470) }; in make_frame()
16 path->addRoundRect(r, SkIntToScalar(15), SkIntToScalar(15)); in make_frame()
20 paint.setStrokeWidth(SkIntToScalar(5)); in make_frame()
22 return SkIntToScalar(15); in make_frame()
29 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); in make_triangle()
30 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle()
31 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle()
33 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_triangle()
34 return SkIntToScalar(30); in make_triangle()
38 SkRect r = { SkIntToScalar(10), SkIntToScalar(10), in make_rect()
39 SkIntToScalar(30), SkIntToScalar(30) }; in make_rect()
41 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_rect()
42 return SkIntToScalar(30); in make_rect()
46 SkRect r = { SkIntToScalar(10), SkIntToScalar(10), in make_oval()
47 SkIntToScalar(30), SkIntToScalar(30) }; in make_oval()
49 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_oval()
50 return SkIntToScalar(30); in make_oval()
54 SkScalar x = SkIntToScalar(20); in make_sawtooth()
55 SkScalar y = SkIntToScalar(20); in make_sawtooth()
57 const SkScalar dx = SkIntToScalar(5); in make_sawtooth()
58 const SkScalar dy = SkIntToScalar(10); in make_sawtooth()
70 return SkIntToScalar(30); in make_sawtooth()
108 return SkIntToScalar(30); in make_house()
112 const SkScalar c = SkIntToScalar(45); in make_star()
113 const SkScalar r = SkIntToScalar(20); in make_star()
133 path->moveTo(SkIntToScalar(30), SkIntToScalar(30)); in make_line()
134 path->lineTo(SkIntToScalar(120), SkIntToScalar(40)); in make_line()
136 path->moveTo(SkIntToScalar(150), SkIntToScalar(30)); in make_line()
137 path->lineTo(SkIntToScalar(150), SkIntToScalar(30)); in make_line()
138 path->lineTo(SkIntToScalar(300), SkIntToScalar(40)); in make_line()
140 return SkIntToScalar(40); in make_line()
322 canvas->translate(SkIntToScalar(0), fDY[i]); in onDraw()
379 path.addCircle(SkIntToScalar(50), SkIntToScalar(50), SkIntToScalar(40)); in onDraw()
382 SkRect clipR = { 0, 0, SkIntToScalar(100), SkIntToScalar(200) }; in onDraw()
384 canvas->translate(SkIntToScalar(10), SkIntToScalar(10)); in onDraw()
400 canvas->translate(SkIntToScalar(110), 0); in onDraw()