Home | History | Annotate | Download | only in tests

Lines Matching defs:pt1

253 static bool equalPoints(const SkDPoint& pt1, const SkDPoint& pt2, double max) {
254 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max)
255 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max);
300 SkDPoint pt1 = quad1.ptAtT(tRange.t1);
301 if (equalPoints(pt1, best1, maxQuads)) {
304 best1 = pt1;
356 SkDPoint pt1 = quad1.ptAtT(tRange.t1);
358 if (equalPoints(pt1, best1, maxQuads)) {
361 best1 = pt1;
366 if (equalPoints(pt1, pt2, maxQuads)) {