Searched refs:cubicT (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/pathops/ |
D | SkDCubicLineIntersection.cpp | 156 double cubicT = rootVals[index]; in intersect() local 157 double lineT = findLineT(cubicT); in intersect() 159 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect() 160 fIntersections->insert(cubicT, lineT, pt); in intersect() 192 double cubicT = roots[index]; in horizontalIntersect() local 193 SkDPoint pt = { fCubic.ptAtT(cubicT).fX, axisIntercept }; in horizontalIntersect() 195 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect() 196 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect() 206 bool uniqueAnswer(double cubicT, const SkDPoint& pt) { in uniqueAnswer() argument 212 if (cubicT == existingCubicT) { in uniqueAnswer() [all …]
|
/third_party/skia/src/pathops/ |
D | SkDCubicLineIntersection.cpp | 156 double cubicT = rootVals[index]; in intersect() local 157 double lineT = findLineT(cubicT); in intersect() 159 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect() 160 fIntersections->insert(cubicT, lineT, pt); in intersect() 192 double cubicT = roots[index]; in horizontalIntersect() local 193 SkDPoint pt = { fCubic.ptAtT(cubicT).fX, axisIntercept }; in horizontalIntersect() 195 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect() 196 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect() 206 bool uniqueAnswer(double cubicT, const SkDPoint& pt) { in uniqueAnswer() argument 212 if (cubicT == existingCubicT) { in uniqueAnswer() [all …]
|
/third_party/skia/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 165 double cubicT = i[0][0]; in testOne() local 166 SkDPoint prev = cubic.ptAtT(cubicT * 2 - 1); in testOne() 167 SkDPoint sect = cubic.ptAtT(cubicT); in testOne()
|
/third_party/flutter/skia/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 165 double cubicT = i[0][0]; in testOne() local 166 SkDPoint prev = cubic.ptAtT(cubicT * 2 - 1); in testOne() 167 SkDPoint sect = cubic.ptAtT(cubicT); in testOne()
|