/external/skia/src/pathops/ |
D | SkDQuadLineIntersection.cpp | 177 double lineT = findLineT(quadT); in intersect() local 179 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(quadT, pt)) { in intersect() 180 fIntersections->insert(quadT, lineT, pt); in intersect() 207 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local 208 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in horizontalIntersect() 209 fIntersections->insert(quadT, lineT, pt); in horizontalIntersect() 263 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local 264 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in verticalIntersect() 265 fIntersections->insert(quadT, lineT, pt); in verticalIntersect() 279 double lineT = fLine->exactPoint(fQuad[qIndex]); in addExactEndPoints() local [all …]
|
D | SkDConicLineIntersection.cpp | 83 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local 84 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized) in horizontalIntersect() 86 fIntersections->insert(conicT, lineT, pt); in horizontalIntersect() 105 double lineT = this->findLineT(conicT); in intersect() local 107 SkDEBUGCODE(SkDPoint linePt = fLine->ptAtT(lineT)); in intersect() 110 if (this->pinTs(&conicT, &lineT, &pt, kPointUninitialized) in intersect() 112 fIntersections->insert(conicT, lineT, pt); in intersect() 156 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local 157 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized) in verticalIntersect() 159 fIntersections->insert(conicT, lineT, pt); in verticalIntersect() [all …]
|
D | SkDCubicLineIntersection.cpp | 155 double lineT = findLineT(cubicT); in intersect() local 157 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect() 158 fIntersections->insert(cubicT, lineT, pt); in intersect() 192 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local 193 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect() 194 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect() 255 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local 256 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in verticalIntersect() 257 fIntersections->insert(cubicT, lineT, pt); in verticalIntersect() 271 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints() local [all …]
|
/external/skia/tests/ |
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 59 double lineT = intersections[1][index]; in testLineIntersect() local 60 SkDPoint lineXY = line.ptAtT(lineT); in testLineIntersect()
|
D | PathOpsQuadLineIntersectionTest.cpp | 91 double lineT = intersections[1][inner]; in testOneOffs() local 92 SkDPoint lineXY = line.ptAtT(lineT); in testOneOffs()
|
D | PathOpsConicLineIntersectionTest.cpp | 80 double lineT = intersections[1][inner]; in testOneOffs() local 81 SkDPoint lineXY = line.ptAtT(lineT); in testOneOffs()
|