Lines Matching refs:rand
25 static void draw_strokes(SkCanvas* canvas, SkRandom* rand, const SkPath& path,
34 strokePaint.setColor(rand->nextU() | 0xff808080);
39 strokePaint.setColor(rand->nextU() | 0xff808080);
44 strokePaint.setColor(rand->nextU() | 0xff808080);
48 strokePaint.setColor(rand->nextU() | 0xff808080);
53 SkRandom rand;
68 draw_strokes(canvas, &rand,
73 draw_strokes(canvas, &rand,
78 draw_strokes(canvas, &rand,
83 draw_strokes(canvas, &rand,