Lines Matching defs:SkIntToScalar
14 SkScalar finalX = SkIntToScalar(600)) {
18 SkIntToScalar(on),
19 SkIntToScalar(off),
32 drawline(canvas, 1, 1, paint, SkIntToScalar(20 * 1000));
58 canvas->translate(SkIntToScalar(20), SkIntToScalar(20));
66 paint.setStrokeWidth(SkIntToScalar(w));
73 canvas->translate(0, SkIntToScalar(20));
143 paint.setStrokeWidth(SkIntToScalar(6));
145 SkRect bounds = SkRect::MakeWH(SkIntToScalar(120), SkIntToScalar(120));
146 bounds.offset(SkIntToScalar(20), SkIntToScalar(20));
155 vals[i] = SkIntToScalar(*intervals++);
197 p.setStrokeWidth(SkIntToScalar(strokeWidth));
210 pts[0].set(0, SkIntToScalar(y));
211 pts[1].set(lineLength, SkIntToScalar(y));
219 pts[0].set(SkIntToScalar(x), 0);
220 pts[1].set(SkIntToScalar(x), lineLength);
254 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(255), 1, false);
260 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(3), 3, false);
266 this->drawDashedLines(canvas, 100, SkFloatToScalar(1.5f), SkIntToScalar(3), 3, false);
278 this->drawDashedLines(canvas, 100, 0, SkIntToScalar(3), 3, true);
293 canvas->translate(SkIntToScalar(phase*110+2),
294 SkIntToScalar(330));
295 this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false);