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 | 343 int SkDCubic::searchRoots(double extremeTs[6], int extrema, double axisIntercept, in searchRoots() 345 extrema += findInflections(&extremeTs[extrema]); in searchRoots() 346 extremeTs[extrema++] = 0; in searchRoots() 347 extremeTs[extrema] = 1; in searchRoots() 349 SkTQSort(extremeTs, extremeTs + extrema); in searchRoots() 352 double min = extremeTs[index]; in searchRoots() 353 double max = extremeTs[++index]; in searchRoots() 722 double extremeTs[2]; in top() local 724 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs); in top() 726 double t = startT + (endT - startT) * extremeTs[index]; in top()
|