Searched refs:cubicT (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/pathops/ |
D | SkDCubicLineIntersection.cpp | 154 double cubicT = rootVals[index]; in intersect() local 155 double lineT = findLineT(cubicT); in intersect() 157 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect() 158 fIntersections->insert(cubicT, lineT, pt); in intersect() 190 double cubicT = roots[index]; in horizontalIntersect() local 191 SkDPoint pt = { fCubic.ptAtT(cubicT).fX, axisIntercept }; in horizontalIntersect() 193 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect() 194 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect() 204 bool uniqueAnswer(double cubicT, const SkDPoint& pt) { in uniqueAnswer() argument 210 if (cubicT == existingCubicT) { in uniqueAnswer() [all …]
|
/external/skia/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 157 double cubicT = i[0][0]; in testOne() local 158 SkDPoint prev = cubic.ptAtT(cubicT * 2 - 1); in testOne() 159 SkDPoint sect = cubic.ptAtT(cubicT); in testOne()
|