Lines Matching defs:inflections
74 int inflections = cubic->findInflections(inflectT);
75 SkASSERT(inflections <= 2);
77 inflections += cubic->findMaxCurvature(&inflectT[inflections]);
78 SkASSERT(inflections <= 5);
80 SkTQSort<double>(inflectT, inflectT + inflections);
83 while (inflections && approximately_less_than_zero(inflectT[0])) {
84 memmove(inflectT, &inflectT[1], sizeof(inflectT[0]) * --inflections);
88 while (next < inflections) {
94 memmove(&inflectT[start], &inflectT[next], sizeof(inflectT[0]) * (--inflections - start));
97 while (inflections && approximately_greater_than_one(inflectT[inflections - 1])) {
98 --inflections;
101 if (inflections == 1) {
105 --inflections;
109 --inflections;
113 if (inflections == 0 && add_simple_ts(*cubic, precision, ts)) {
116 if (inflections == 1) {
122 if (inflections > 1) {
125 int last = inflections - 1;
221 int inflections = cubic.findInflections(tInflects);
222 if (inflections > 1 && tInflects[0] > tInflects[1]) {
227 for (int index = 0; index <= inflections; ++index) {
228 double hi = index < inflections ? tInflects[index] : 1;