Home
last modified time | relevance | path

Searched refs:fIntersections (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/pathops/
DSkDQuadLineIntersection.cpp100 , fIntersections(i) in LineQuadraticIntersections()
108 SkDEBUGPARAMS(fIntersections(nullptr)) in LineQuadraticIntersections()
117 int last = fIntersections->used() - 1; in checkCoincident()
119 double quadMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
126 if (fIntersections->isCoincident(index)) { in checkCoincident()
127 fIntersections->removeOne(index); in checkCoincident()
129 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
130 fIntersections->removeOne(index + 1); in checkCoincident()
133 fIntersections->setCoincident(index++); in checkCoincident()
135 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDConicLineIntersection.cpp22 , fIntersections(i) in LineConicIntersections()
30 SkDEBUGPARAMS(fIntersections(nullptr)) in LineConicIntersections()
39 int last = fIntersections->used() - 1; in checkCoincident()
41 double conicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
48 if (fIntersections->isCoincident(index)) { in checkCoincident()
49 fIntersections->removeOne(index); in checkCoincident()
51 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
52 fIntersections->removeOne(index + 1); in checkCoincident()
55 fIntersections->setCoincident(index++); in checkCoincident()
57 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDCubicLineIntersection.cpp88 , fIntersections(i) in LineCubicIntersections()
98 int last = fIntersections->used() - 1; in checkCoincident()
100 double cubicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
107 if (fIntersections->isCoincident(index)) { in checkCoincident()
108 fIntersections->removeOne(index); in checkCoincident()
110 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
111 fIntersections->removeOne(index + 1); in checkCoincident()
114 fIntersections->setCoincident(index++); in checkCoincident()
116 fIntersections->setCoincident(index); in checkCoincident()
125 SkDEBUGCODE(c.fDebugGlobalState = fIntersections->globalState()); in intersectRay()
[all …]
/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp100 , fIntersections(i) in LineQuadraticIntersections()
108 SkDEBUGPARAMS(fIntersections(nullptr)) in LineQuadraticIntersections()
117 int last = fIntersections->used() - 1; in checkCoincident()
119 double quadMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
126 if (fIntersections->isCoincident(index)) { in checkCoincident()
127 fIntersections->removeOne(index); in checkCoincident()
129 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
130 fIntersections->removeOne(index + 1); in checkCoincident()
133 fIntersections->setCoincident(index++); in checkCoincident()
135 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDConicLineIntersection.cpp22 , fIntersections(i) in LineConicIntersections()
30 SkDEBUGPARAMS(fIntersections(nullptr)) in LineConicIntersections()
39 int last = fIntersections->used() - 1; in checkCoincident()
41 double conicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
48 if (fIntersections->isCoincident(index)) { in checkCoincident()
49 fIntersections->removeOne(index); in checkCoincident()
51 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
52 fIntersections->removeOne(index + 1); in checkCoincident()
55 fIntersections->setCoincident(index++); in checkCoincident()
57 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDCubicLineIntersection.cpp88 , fIntersections(i) in LineCubicIntersections()
98 int last = fIntersections->used() - 1; in checkCoincident()
100 double cubicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
107 if (fIntersections->isCoincident(index)) { in checkCoincident()
108 fIntersections->removeOne(index); in checkCoincident()
110 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
111 fIntersections->removeOne(index + 1); in checkCoincident()
114 fIntersections->setCoincident(index++); in checkCoincident()
116 fIntersections->setCoincident(index); in checkCoincident()
125 SkDEBUGCODE(c.fDebugGlobalState = fIntersections->globalState()); in intersectRay()
[all …]