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

/external/chromium_org/third_party/skia/src/pathops/
H A DSkDCubicToQuads.cpp118 // it would still take the prechopped cubic for reduce order and find cubic inflections
126 int inflections = findInflections(inflectT); local
127 SkASSERT(inflections <= 2);
129 inflections += findMaxCurvature(&inflectT[inflections]);
130 SkASSERT(inflections <= 5);
132 SkTQSort<double>(inflectT, &inflectT[inflections - 1]);
135 while (inflections && approximately_less_than_zero(inflectT[0])) {
136 memmove(inflectT, &inflectT[1], sizeof(inflectT[0]) * --inflections);
141 if (next >= inflections) {
[all...]
/external/skia/src/pathops/
H A DSkDCubicToQuads.cpp118 // it would still take the prechopped cubic for reduce order and find cubic inflections
126 int inflections = findInflections(inflectT); local
127 SkASSERT(inflections <= 2);
129 inflections += findMaxCurvature(&inflectT[inflections]);
130 SkASSERT(inflections <= 5);
132 SkTQSort<double>(inflectT, &inflectT[inflections - 1]);
135 while (inflections && approximately_less_than_zero(inflectT[0])) {
136 memmove(inflectT, &inflectT[1], sizeof(inflectT[0]) * --inflections);
141 if (next >= inflections) {
[all...]

Completed in 111 milliseconds