Home | History | Annotate | Download | only in pathops

Lines Matching full:current

20         SkOpSegment* current = FindSortableTop(contourList, SkOpAngle::kUnaryWinding, &firstContour,
22 if (!current) {
33 if (current->activeWinding(index, endIndex)) {
35 if (!unsortable && current->done()) {
44 SkASSERT(unsortable || !current->done());
47 SkOpSegment* next = current->findNextWinding(&chaseArray, &nextStart, &nextEnd,
51 && current->verb() != SkPath::kLine_Verb
53 current->addCurveTo(index, endIndex, simple, true);
59 SkDebugf("%s current id=%d from=(%1.9g,%1.9g) to=(%1.9g,%1.9g)\n", __FUNCTION__,
60 current->debugID(), current->xyAtT(index).fX, current->xyAtT(index).fY,
61 current->xyAtT(endIndex).fX, current->xyAtT(endIndex).fY);
63 current->addCurveTo(index, endIndex, simple, true);
64 current = next;
68 || !current->done(SkMin32(index, endIndex))));
69 if (current->activeWinding(index, endIndex) && !simple->isClosed()) {
72 if (!current->done(min)) {
73 current->addCurveTo(index, endIndex, simple, true);
74 current->markDoneUnary(min);
79 SkOpSpan* last = current->markAndChaseDoneUnary(index, endIndex);
84 current = FindChase(chaseArray, index, endIndex);
88 if (!current) {
98 SkOpSegment* current;
102 while ((current = FindUndone(contourList, &start, &end))) {
105 if (!unsortable && current->done()) {
109 SkASSERT(unsortable || !current->done());
112 SkOpSegment* next = current->findNextXor(&nextStart, &nextEnd, &unsortable);
115 && current->verb() != SkPath::kLine_Verb
117 current->addCurveTo(start, end, simple, true);
123 SkDebugf("%s current id=%d from=(%1.9g,%1.9g) to=(%1.9g,%1.9g)\n", __FUNCTION__,
124 current->debugID(), current->xyAtT(start).fX, current->xyAtT(start).fY,
125 current->xyAtT(end).fX, current->xyAtT(end).fY);
127 current->addCurveTo(start, end, simple, true);
128 current = next;
131 } while (!simple->isClosed() && (!unsortable || !current->done(SkMin32(start, end))));
135 if (!current->done(min)) {
136 current->addCurveTo(start, end, simple, true);
137 current->markDone(min, 1);
176 SkOpContour* current = *currentPtr++;
177 if (current->containsCubics()) {
178 AddSelfIntersectTs(current);
183 } while (AddIntersectTs(current, next) && nextPtr != listEnd);