Lines Matching refs:SkIntToScalar
15 SkScalar finalX = SkIntToScalar(600), SkScalar finalY = SkIntToScalar(0), in drawline()
16 SkScalar phase = SkIntToScalar(0), in drawline()
17 SkScalar startX = SkIntToScalar(0), SkScalar startY = SkIntToScalar(0)) { in drawline()
21 SkIntToScalar(on), in drawline()
22 SkIntToScalar(off), in drawline()
35 drawline(canvas, 1, 1, paint, SkIntToScalar(20 * 1000)); in show_giant_dash()
41 drawline(canvas, 2, 2, paint, SkIntToScalar(0)); in show_zero_len_dash()
43 paint.setStrokeWidth(SkIntToScalar(2)); in show_zero_len_dash()
44 canvas->translate(0, SkIntToScalar(20)); in show_zero_len_dash()
45 drawline(canvas, 4, 4, paint, SkIntToScalar(0)); in show_zero_len_dash()
72 canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
79 paint.setStrokeWidth(SkIntToScalar(w)); in onDraw()
86 canvas->translate(0, SkIntToScalar(20)); in onDraw()
92 canvas->translate(0, SkIntToScalar(20)); in onDraw()
94 canvas->translate(0, SkIntToScalar(20)); in onDraw()
96 paint.setStrokeWidth(SkIntToScalar(8)); in onDraw()
163 paint.setStrokeWidth(SkIntToScalar(6)); in onDraw()
165 SkRect bounds = SkRect::MakeWH(SkIntToScalar(120), SkIntToScalar(120)); in onDraw()
166 bounds.offset(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
175 vals[i] = SkIntToScalar(*intervals++); in onDraw()
218 p.setStrokeWidth(SkIntToScalar(strokeWidth)); in drawDashedLines()
231 pts[0].set(0, SkIntToScalar(y)); in drawDashedLines()
232 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
240 pts[0].set(SkIntToScalar(x), 0); in drawDashedLines()
241 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
275 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(255), 1, false); in onDraw()
281 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(3), 3, false); in onDraw()
287 this->drawDashedLines(canvas, 100, 1.5f, SkIntToScalar(3), 3, false); in onDraw()
299 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(3), 3, true); in onDraw()
314 canvas->translate(SkIntToScalar(phase*110+2), in onDraw()
315 SkIntToScalar(330)); in onDraw()
316 … this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false); in onDraw()
350 canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); in onDraw()
359 paint.setStrokeWidth(SkIntToScalar(w)); in onDraw()
369 canvas->translate(0, SkIntToScalar(20)); in onDraw()
381 canvas->translate(0, SkIntToScalar(20)); in onDraw()
385 canvas->translate(0, SkIntToScalar(20)); in onDraw()
389 canvas->translate(0, SkIntToScalar(20)); in onDraw()
394 canvas->translate(0, SkIntToScalar(20)); in onDraw()
398 canvas->translate(0, SkIntToScalar(20)); in onDraw()
402 canvas->translate(SkIntToScalar(5), SkIntToScalar(20)); in onDraw()
409 canvas->translate(0, SkIntToScalar(50)); in onDraw()
414 canvas->translate(0, SkIntToScalar(50)); in onDraw()
420 canvas->translate(SkIntToScalar(100), 0); in onDraw()
476 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
480 SkIntToScalar(x), -sign * SkIntToScalar(10003), in onDraw()
481 SkIntToScalar(phase), in onDraw()
482 SkIntToScalar(x), sign * SkIntToScalar(10003)); in onDraw()
487 paint.setStrokeWidth(SkIntToScalar(phase+1)); in onDraw()
491 -sign * SkIntToScalar(10003), SkIntToScalar(y), in onDraw()
492 SkIntToScalar(phase), in onDraw()
493 sign * SkIntToScalar(10003), SkIntToScalar(y)); in onDraw()