Home | History | Annotate | Download | only in pathops

Lines Matching refs:winding

147         // find first angle, initialize winding to computed fWindSum
150 int winding;
154 winding = segment->windSum(angle);
155 } while (winding == SK_MinS32);
158 SkDebugf("%s winding=%d spanWinding=%d\n",
159 __FUNCTION__, winding, spanWinding);
161 // turn span winding into contour winding
162 if (spanWinding * winding < 0) {
163 winding += spanWinding;
166 segment->debugShowSort(__FUNCTION__, sorted, firstIndex, winding, 0, sortable);
169 // edge is inside or outside. Maybe need to pass span winding
170 // or first winding or something into this function?
171 // advance to first undone angle, then return it and winding
176 winding -= angle->segment()->spanSign(angle);
184 int maxWinding = winding;
185 winding -= segment->spanSign(angle);
187 SkDebugf("%s id=%d maxWinding=%d winding=%d sign=%d\n", __FUNCTION__,
188 segment->debugID(), maxWinding, winding, angle->sign());
196 // same direction. If the direction is opposite, winding to
198 if (SkOpSegment::UseInnerWinding(maxWinding, winding)) {
199 maxWinding = winding;
325 // shoot rays at right angles to the segment to find its winding, ignoring angle cases