Lines Matching refs:rand
56 static SkPoint rand_pt(SkRandom& rand) { in rand_pt() argument
57 return SkPoint::Make(rand.nextSScalar1() * X, rand.nextSScalar1() * Y); in rand_pt()
62 SkRandom rand; in line_path_maker() local
63 path.moveTo(rand_pt(rand)); in line_path_maker()
65 path.lineTo(rand_pt(rand)); in line_path_maker()
71 SkRandom rand; in quad_path_maker() local
72 path.moveTo(rand_pt(rand)); in quad_path_maker()
74 path.quadTo(rand_pt(rand), rand_pt(rand)); in quad_path_maker()
80 SkRandom rand; in conic_path_maker() local
81 path.moveTo(rand_pt(rand)); in conic_path_maker()
83 path.conicTo(rand_pt(rand), rand_pt(rand), rand.nextUScalar1()); in conic_path_maker()
89 SkRandom rand; in cubic_path_maker() local
90 path.moveTo(rand_pt(rand)); in cubic_path_maker()
92 path.cubicTo(rand_pt(rand), rand_pt(rand), rand_pt(rand)); in cubic_path_maker()