Home
last modified time | relevance | path

Searched refs:extremeTs (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pathops/
DSkDCubicLineIntersection.cpp137 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()
DSkPathOpsCubic.cpp308 int SkDCubic::searchRoots(double extremeTs[6], int extrema, double axisIntercept, in searchRoots()
310 extrema += findInflections(&extremeTs[extrema]); in searchRoots()
311 extremeTs[extrema++] = 0; in searchRoots()
312 extremeTs[extrema] = 1; in searchRoots()
313 SkTQSort(extremeTs, extremeTs + extrema); in searchRoots()
316 double min = extremeTs[index]; in searchRoots()
317 double max = extremeTs[++index]; in searchRoots()
686 double extremeTs[2]; in top() local
688 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs); in top()
690 double t = startT + (endT - startT) * extremeTs[index]; in top()