Lines Matching full:rand
57 static SkPoint rand_pt(SkRandom& rand) { in rand_pt() argument
58 return SkPoint::Make(rand.nextSScalar1() * X, rand.nextSScalar1() * Y); in rand_pt()
63 SkRandom rand; in line_path_maker() local
64 path.moveTo(rand_pt(rand)); in line_path_maker()
66 path.lineTo(rand_pt(rand)); in line_path_maker()
72 SkRandom rand; in quad_path_maker() local
73 path.moveTo(rand_pt(rand)); in quad_path_maker()
75 path.quadTo(rand_pt(rand), rand_pt(rand)); in quad_path_maker()
81 SkRandom rand; in conic_path_maker() local
82 path.moveTo(rand_pt(rand)); in conic_path_maker()
84 path.conicTo(rand_pt(rand), rand_pt(rand), rand.nextUScalar1()); in conic_path_maker()
90 SkRandom rand; in cubic_path_maker() local
91 path.moveTo(rand_pt(rand)); in cubic_path_maker()
93 path.cubicTo(rand_pt(rand), rand_pt(rand), rand_pt(rand)); in cubic_path_maker()