Searched refs:extremeTs (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/pathops/ |
D | SkDCubicLineIntersection.cpp | 137 double extremeTs[6]; in intersectRay() local 138 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in intersectRay() 139 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots); in intersectRay() 173 double extremeTs[6]; in HorizontalIntersect() local 174 int extrema = SkDCubic::FindExtrema(&c[0].fY, extremeTs); in HorizontalIntersect() 175 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect() 236 double extremeTs[6]; in VerticalIntersect() local 237 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in VerticalIntersect() 238 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
|
D | SkPathOpsCubic.cpp | 311 int SkDCubic::searchRoots(double extremeTs[6], int extrema, double axisIntercept, in searchRoots() 313 extrema += findInflections(&extremeTs[extrema]); in searchRoots() 314 extremeTs[extrema++] = 0; in searchRoots() 315 extremeTs[extrema] = 1; in searchRoots() 316 SkTQSort(extremeTs, extremeTs + extrema); in searchRoots() 319 double min = extremeTs[index]; in searchRoots() 320 double max = extremeTs[++index]; in searchRoots() 676 double extremeTs[2]; in top() local 678 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs); in top() 680 double t = startT + (endT - startT) * extremeTs[index]; in top()
|