Lines Matching refs:SkOpAngle
45 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle()
47 if (SkOpAngle* result = activeAngleInner(start, startPtr, endPtr, done)) { in activeAngle()
50 if (SkOpAngle* result = activeAngleOther(start, startPtr, endPtr, done)) { in activeAngle()
56 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner()
97 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther()
289 SkOpAngle* priorAngle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles()
297 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles()
336 void SkOpSegment::ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle, in ComputeOneSum()
337 SkOpAngle::IncludeType includeType) { in ComputeOneSum()
341 bool binary = includeType >= SkOpAngle::kBinarySingle; in ComputeOneSum()
365 void SkOpSegment::ComputeOneSumReverse(SkOpAngle* baseAngle, SkOpAngle* nextAngle, in ComputeOneSumReverse()
366 SkOpAngle::IncludeType includeType) { in ComputeOneSumReverse()
370 bool binary = includeType >= SkOpAngle::kBinarySingle; in ComputeOneSumReverse()
396 SkOpAngle::IncludeType includeType) { in computeSum()
397 SkASSERT(includeType != SkOpAngle::kUnaryXor); in computeSum()
398 SkOpAngle* firstAngle = this->spanToAngle(end, start); in computeSum()
408 SkOpAngle* baseAngle = nullptr; in computeSum()
411 SkOpAngle* angle = firstAngle->previous(); in computeSum()
412 SkOpAngle* next = angle->next(); in computeSum()
415 SkOpAngle* prior = angle; in computeSum()
441 SkOpAngle* prior = firstAngle; in computeSum()
489 double SkOpSegment::distSq(double t, const SkOpAngle* oppAngle) const { in distSq()
546 int calcWinding = computeSum(start, endNear, SkOpAngle::kBinaryOpp); in findNextOp()
553 SkOpAngle* angle = this->spanToAngle(end, start); in findNextOp()
573 SkOpAngle* nextAngle = angle->next(); in findNextOp()
574 const SkOpAngle* foundAngle = nullptr; in findNextOp()
651 int calcWinding = computeSum(start, endNear, SkOpAngle::kUnaryWinding); in findNextWinding()
658 SkOpAngle* angle = this->spanToAngle(end, start); in findNextWinding()
669 SkOpAngle* nextAngle = angle->next(); in findNextWinding()
670 const SkOpAngle* foundAngle = nullptr; in findNextWinding()
747 SkOpAngle* angle = this->spanToAngle(end, start); in findNextXor()
757 SkOpAngle* nextAngle = angle->next(); in findNextXor()
758 const SkOpAngle* foundAngle = nullptr; in findNextXor()
912 SkOpSpanBase* SkOpSegment::markAngle(int maxWinding, int sumWinding, const SkOpAngle* angle) { in markAngle()
934 int oppSumWinding, const SkOpAngle* angle) { in markAngle()
1028 SkOpAngle* angle = step > 0 ? endSpan->fromAngle() : endSpan->upCast()->toAngle(); in nextChase()
1047 const SkOpAngle* next = angle->next(); in nextChase()
1483 SkOpAngle* fromAngle = span->fromAngle(); in sortAngles()
1484 SkOpAngle* toAngle = span->final() ? nullptr : span->upCast()->toAngle(); in sortAngles()
1491 SkOpAngle* baseAngle = fromAngle; in sortAngles()
1508 SkOpAngle* oAngle = oSpan->fromAngle(); in sortAngles()
1658 int SkOpSegment::updateOppWinding(const SkOpAngle* angle) const { in updateOppWinding()
1664 int SkOpSegment::updateOppWindingReverse(const SkOpAngle* angle) const { in updateOppWindingReverse()
1687 int SkOpSegment::updateWinding(SkOpAngle* angle) { in updateWinding()
1693 int SkOpSegment::updateWindingReverse(const SkOpAngle* angle) { in updateWindingReverse()
1711 int SkOpSegment::windSum(const SkOpAngle* angle) const { in windSum()