Home
last modified time | relevance | path

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

/external/skia/tests/
DPathOpsTestCommon.cpp70 int inflections = cubic->findInflections(inflectT); in toQuadraticTs() local
71 SkASSERT(inflections <= 2); in toQuadraticTs()
73 inflections += cubic->findMaxCurvature(&inflectT[inflections]); in toQuadraticTs()
74 SkASSERT(inflections <= 5); in toQuadraticTs()
76 SkTQSort<double>(inflectT, &inflectT[inflections - 1]); in toQuadraticTs()
79 while (inflections && approximately_less_than_zero(inflectT[0])) { in toQuadraticTs()
80 memmove(inflectT, &inflectT[1], sizeof(inflectT[0]) * --inflections); in toQuadraticTs()
84 while (next < inflections) { in toQuadraticTs()
90 memmove(&inflectT[start], &inflectT[next], sizeof(inflectT[0]) * (--inflections - start)); in toQuadraticTs()
93 while (inflections && approximately_greater_than_one(inflectT[inflections - 1])) { in toQuadraticTs()
[all …]