Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp99 , fIntersections(i) in LineQuadraticIntersections()
107 SkDEBUGPARAMS(fIntersections(nullptr)) in LineQuadraticIntersections()
116 int last = fIntersections->used() - 1; in checkCoincident()
118 double quadMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
125 if (fIntersections->isCoincident(index)) { in checkCoincident()
126 fIntersections->removeOne(index); in checkCoincident()
128 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
129 fIntersections->removeOne(index + 1); in checkCoincident()
132 fIntersections->setCoincident(index++); in checkCoincident()
134 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDConicLineIntersection.cpp21 , fIntersections(i) in LineConicIntersections()
29 SkDEBUGPARAMS(fIntersections(nullptr)) in LineConicIntersections()
38 int last = fIntersections->used() - 1; in checkCoincident()
40 double conicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
47 if (fIntersections->isCoincident(index)) { in checkCoincident()
48 fIntersections->removeOne(index); in checkCoincident()
50 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
51 fIntersections->removeOne(index + 1); in checkCoincident()
54 fIntersections->setCoincident(index++); in checkCoincident()
56 fIntersections->setCoincident(index); in checkCoincident()
[all …]
DSkDCubicLineIntersection.cpp87 , fIntersections(i) in LineCubicIntersections()
97 int last = fIntersections->used() - 1; in checkCoincident()
99 double cubicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident()
106 if (fIntersections->isCoincident(index)) { in checkCoincident()
107 fIntersections->removeOne(index); in checkCoincident()
109 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident()
110 fIntersections->removeOne(index + 1); in checkCoincident()
113 fIntersections->setCoincident(index++); in checkCoincident()
115 fIntersections->setCoincident(index); in checkCoincident()
158 fIntersections->insert(cubicT, lineT, pt); in intersect()
[all …]