Lines Matching defs:pts

209     SkPoint pts[4] {{0, 0,}, {0, 0}, {0, 0}, {0, 0}} ;
211 REPORTER_ASSERT(r, a.asLine(pts, &invertedLine[0]) == b.asLine(pts + 2, &invertedLine[1]));
222 REPORTER_ASSERT(r, pts[2] == pts[0] && pts[3] == pts[1]);
480 SkPoint pts[2];
481 if (!fPath.isLine(pts)) {
484 return pts[0].fX == pts[1].fX || pts[0].fY == pts[1].fY;
1959 SkPoint pts[2] {{0, 0}, {0, 0}};
1960 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted);
1961 if (pts[0] == kA && pts[1] == kB) {
1963 } else if (pts[1] == kA && pts[0] == kB) {
1968 ERRORF(r, "Should return pts (a,b) or (b, a)");
1974 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted &&
1975 pts[0] == canonicalPts[0] && pts[1] == canonicalPts[1]);
1976 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted &&
1977 pts[0] == canonicalPts[0] && pts[1] == canonicalPts[1]);
1978 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted &&
1979 pts[0] == kA && pts[1] == kB);
1980 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted &&
1981 pts[0] == kB && pts[1] == kA);
1992 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1993 pts[0] == canonicalPts[0] && pts[1] == canonicalPts[1]);
1994 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1995 pts[0] == canonicalPts[0] && pts[1] == canonicalPts[1]);
1997 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted &&
1998 pts[0] == kA && pts[1] == kB);