Home | History | Annotate | Download | only in Intersection

Lines Matching full:startindex

2128     int computeSum(int startIndex, int endIndex, bool binary) {
2130 addTwoAngles(startIndex, endIndex, angles);
2224 int minIndex = SkMin32(startIndex, endIndex);
2404 const int startIndex = nextStart;
2406 SkASSERT(startIndex != endIndex);
2408 SkASSERT(startIndex < endIndex ? startIndex < count - 1 : startIndex > 0);
2409 const int step = SkSign32(endIndex - startIndex);
2410 const int end = nextExactSpan(startIndex, step);
2415 // mark the smaller of startIndex, endIndex done, and all adjacent
2420 int min = SkMin32(startIndex, endIndex);
2438 SkASSERT(startIndex - endIndex != 0);
2439 SkASSERT((startIndex - endIndex < 0) ^ (step < 0));
2440 addTwoAngles(startIndex, end, angles);
2445 int firstIndex = findStartingEdge(sorted, startIndex, end);
2459 int sumMiWinding = updateWinding(endIndex, startIndex);
2460 int sumSuWinding = updateOppWinding(endIndex, startIndex);
2509 markDoneBinary(SkMin32(startIndex, endIndex));
2526 const int startIndex = nextStart;
2528 SkASSERT(startIndex != endIndex);
2530 SkASSERT(startIndex < endIndex ? startIndex < count - 1 : startIndex > 0);
2531 const int step = SkSign32(endIndex - startIndex);
2532 const int end = nextExactSpan(startIndex, step);
2537 // mark the smaller of startIndex, endIndex done, and all adjacent
2542 int min = SkMin32(startIndex, endIndex);
2560 SkASSERT(startIndex - endIndex != 0);
2561 SkASSERT((startIndex - endIndex < 0) ^ (step < 0));
2562 addTwoAngles(startIndex, end, angles);
2567 int firstIndex = findStartingEdge(sorted, startIndex, end);
2581 int sumWinding = updateWinding(endIndex, startIndex);
2625 markDoneUnary(SkMin32(startIndex, endIndex));
2640 const int startIndex = nextStart;
2642 SkASSERT(startIndex != endIndex);
2644 SkASSERT(startIndex < endIndex ? startIndex < count - 1
2645 : startIndex > 0);
2646 int step = SkSign32(endIndex - startIndex);
2647 int end = nextExactSpan(startIndex, step);
2655 int min = SkMin32(startIndex, endIndex);
2692 SkASSERT(startIndex - endIndex != 0);
2693 SkASSERT((startIndex - endIndex < 0) ^ (step < 0));
2694 addTwoAngles(startIndex, end, angles);
2701 debugShowSort(__FUNCTION__, sorted, findStartingEdge(sorted, startIndex, end), 0, 0);
2706 int firstIndex = findStartingEdge(sorted, startIndex, end);
2738 markDone(SkMin32(startIndex, endIndex), 1);
3097 bool isConnected(int startIndex, int endIndex) const {
3098 return fTs[startIndex].fWindSum != SK_MinS32
3723 int oppSign(int startIndex, int endIndex) const {
3724 int result = startIndex < endIndex ? -fTs[startIndex].fOppValue
3835 int spanSign(int startIndex, int endIndex) const {
3836 int result = startIndex < endIndex ? -fTs[startIndex].fWindValue
3929 int startIndex = angle->start();
3931 return updateOppWinding(endIndex, startIndex);
3935 int startIndex = angle->start();
3937 return updateOppWinding(startIndex, endIndex);
3951 int startIndex = angle->start();
3953 return updateWinding(endIndex, startIndex);
3957 int startIndex = angle->start();
3959 return updateWinding(startIndex, endIndex);