Lines Matching refs:pts
27 static int rand_pts(SkRandom& rand, SkPoint pts[4]) {
32 pts[i].fX = rand.nextSScalar1();
33 pts[i].fY = rand.nextSScalar1();
52 SkPoint pts[4];
53 int n = rand_pts(rand, pts);
56 fPath.moveTo(pts[0]);
59 fPath.lineTo(pts[1]);
62 fPath.quadTo(pts[1], pts[2]);
65 fPath.cubicTo(pts[1], pts[2], pts[3]);
83 auto handle = [this](int verb, const SkPoint pts[]) {
85 fXInc += pts[0].fX;
86 fYInc += pts[0].fY;
94 SkPoint pts[4];
95 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
96 handle(verb, pts);
102 for (auto [verb, pts, w] : SkPathPriv::Iterate(fPath)) {
103 handle((SkPath::Verb)verb, pts);