Searched refs:extremeTs (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/pathops/ |
D | SkDCubicLineIntersection.cpp | 139 double extremeTs[6]; in intersectRay() local 140 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in intersectRay() 141 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots); in intersectRay() 175 double extremeTs[6]; in HorizontalIntersect() local 176 int extrema = SkDCubic::FindExtrema(&c[0].fY, extremeTs); in HorizontalIntersect() 177 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect() 238 double extremeTs[6]; in VerticalIntersect() local 239 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in VerticalIntersect() 240 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
|
D | SkPathOpsCubic.cpp | 350 int SkDCubic::searchRoots(double extremeTs[6], int extrema, double axisIntercept, in searchRoots() 352 extrema += findInflections(&extremeTs[extrema]); in searchRoots() 353 extremeTs[extrema++] = 0; in searchRoots() 354 extremeTs[extrema] = 1; in searchRoots() 356 SkTQSort(extremeTs, extremeTs + extrema); in searchRoots() 359 double min = extremeTs[index]; in searchRoots() 360 double max = extremeTs[++index]; in searchRoots() 729 double extremeTs[2]; in top() local 731 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs); in top() 733 double t = startT + (endT - startT) * extremeTs[index]; in top()
|