Lines Matching refs:one
34 int SkIntersections::insert(double one, double two, const SkDPoint& pt) {
35 if (fIsCoincident[0] == 3 && between(fT[0][0], one, fT[0][1])) {
44 if (one == oldOne && two == oldTwo) {
47 if (more_roughly_equal(oldOne, one) && more_roughly_equal(oldTwo, two)) {
48 if ((precisely_zero(one) && !precisely_zero(oldOne))
49 || (precisely_equal(one, 1) && !precisely_equal(oldOne, 1))
52 SkASSERT(one >= 0 && one <= 1);
54 fT[0][index] = one;
62 SkDebugf("%s t=%1.9g pts roughly equal\n", __FUNCTION__, one);
65 if (fT[0][index] > one) {
85 SkASSERT(one >= 0 && one <= 1);
87 fT[0][index] = one;
94 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) {
95 SkASSERT(one == 0 || one == 1);
98 fNearlySame[one ? 1 : 0] = true;
99 (void) insert(one, two, pt1);
100 fPt2[one ? 1 : 0] = pt2;
103 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) {
104 int index = insertSwap(one, two, pt);