Lines Matching refs:span
182 const Span& span = segment->fTs[min];
183 if (span.fCoincident == Span::kStart_Coincidence) {
201 const Span& span = segment->fTs[index];
202 if (minSpan.fT != span.fT) {
205 if (span.fOther != other) {
208 return span.fCoincident == Span::kStart_Coincidence;
212 const Span& span = segment->fTs[index];
213 if (span.fOther != other) {
216 return span.fCoincident == Span::kStart_Coincidence;
248 const Span& span = fTs[to];
249 if ((step > 0 ? span.fT - fromT : fromT - span.fT) >= FLT_EPSILON ) {
252 // and actual loc change to represent a span. This asymettry may
258 if (span.fCoincident == (step < 0 ? Span::kStart_Coincidence :
269 // once past current span, if step>0, look for coicident==1
369 const Span& span = fTs[index];
370 if (!span.fCoincident || span.fOther != other) {
375 start = &span;
379 end = &span;
402 const Span& span = fTs[index];
403 if (span.fCoincident || span.fOther == other) {
406 bool checkNext = !next && (step < 0 ? span.fT < FLT_EPSILON
407 && span.fOtherT > 1 - FLT_EPSILON : span.fT > 1 - FLT_EPSILON
408 && span.fOtherT < FLT_EPSILON);
409 bool checkOther = !nextOther && (step < 0 ? fabs(span.fT - start->fT) < FLT_EPSILON
410 && span.fOtherT < FLT_EPSILON : fabs(span.fT - end->fT) < FLT_EPSILON
411 && span.fOtherT > 1 - FLT_EPSILON);
415 Segment* oSegment = span.fOther;
470 Span* span = &fTs[start];
473 bool markDone = !span->fDone && !oSpan->fDone;
474 double spanT = span->fT;
477 span->fCanceled = true;
479 const SkPoint& pt = xyAtT(span);
481 __FUNCTION__, fID, start, span->fT, pt.fX, pt.fY);
483 SkASSERT(!span->fDone);
484 span->fDone = true;
485 span->fWinding = 0;
491 span = &fTs[start];
492 } while (span->fT - spanT < FLT_EPSILON);