Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp178 double lineT = findLineT(quadT); in intersect() local
180 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(quadT, pt)) { in intersect()
181 fIntersections->insert(quadT, lineT, pt); in intersect()
208 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local
209 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in horizontalIntersect()
210 fIntersections->insert(quadT, lineT, pt); in horizontalIntersect()
264 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local
265 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in verticalIntersect()
266 fIntersections->insert(quadT, lineT, pt); in verticalIntersect()
280 double lineT = fLine->exactPoint(fQuad[qIndex]); in addExactEndPoints() local
[all …]
DSkDConicLineIntersection.cpp84 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local
85 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized) in horizontalIntersect()
87 fIntersections->insert(conicT, lineT, pt); in horizontalIntersect()
106 double lineT = this->findLineT(conicT); in intersect() local
111 SkDEBUGCODE(SkDPoint linePt = fLine->ptAtT(lineT)); in intersect()
116 if (this->pinTs(&conicT, &lineT, &pt, kPointUninitialized) in intersect()
118 fIntersections->insert(conicT, lineT, pt); in intersect()
162 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local
163 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized) in verticalIntersect()
165 fIntersections->insert(conicT, lineT, pt); in verticalIntersect()
[all …]
DSkDCubicLineIntersection.cpp157 double lineT = findLineT(cubicT); in intersect() local
159 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect()
160 fIntersections->insert(cubicT, lineT, pt); in intersect()
194 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local
195 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect()
196 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect()
257 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local
258 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in verticalIntersect()
259 fIntersections->insert(cubicT, lineT, pt); in verticalIntersect()
273 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints() local
[all …]
/external/skia/tests/
DPathOpsQuadLineIntersectionThreadedTest.cpp59 double lineT = intersections[1][index]; in testLineIntersect() local
60 SkDPoint lineXY = line.ptAtT(lineT); in testLineIntersect()
DPathOpsQuadLineIntersectionTest.cpp93 double lineT = intersections[1][inner]; in testOneOffs() local
94 SkDPoint lineXY = line.ptAtT(lineT); in testOneOffs()
DPathOpsConicLineIntersectionTest.cpp83 double lineT = intersections[1][inner]; in testOneOffs() local
84 SkDPoint lineXY = line.ptAtT(lineT); in testOneOffs()