Lines Matching refs:inflectT
69 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()
113 pair = cubic->chopAt(inflectT[0]); in toQuadraticTs()
114 addTs(pair.first(), precision, 0, inflectT[0], ts); in toQuadraticTs()
115 addTs(pair.second(), precision, inflectT[0], 1, ts); in toQuadraticTs()
119 SkDCubic part = cubic->subDivide(0, inflectT[0]); in toQuadraticTs()
120 addTs(part, precision, 0, inflectT[0], ts); in toQuadraticTs()
123 part = cubic->subDivide(inflectT[idx], inflectT[idx + 1]); in toQuadraticTs()
124 addTs(part, precision, inflectT[idx], inflectT[idx + 1], ts); in toQuadraticTs()
126 part = cubic->subDivide(inflectT[last], 1); in toQuadraticTs()
127 addTs(part, precision, inflectT[last], 1, ts); in toQuadraticTs()