Home
last modified time | relevance | path

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

/external/skia/tests/
DPathOpsTestCommon.cpp69 double inflectT[5]; in toQuadraticTs() local
70 int inflections = cubic->findInflections(inflectT); in toQuadraticTs()
73 inflections += cubic->findMaxCurvature(&inflectT[inflections]); 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()
85 if (!approximately_equal(inflectT[start], inflectT[next])) { 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()
98 pair = cubic->chopAt(inflectT[0]); in toQuadraticTs()
[all …]