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()
420 SkOpAngle* priorAngle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in calcAngles()
428 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in calcAngles()
445 void SkOpSegment::ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle, in ComputeOneSum()
446 SkOpAngle::IncludeType includeType) { in ComputeOneSum()
450 bool binary = includeType >= SkOpAngle::kBinarySingle; in ComputeOneSum()
474 void SkOpSegment::ComputeOneSumReverse(SkOpAngle* baseAngle, SkOpAngle* nextAngle, in ComputeOneSumReverse()
475 SkOpAngle::IncludeType includeType) { in ComputeOneSumReverse()
479 bool binary = includeType >= SkOpAngle::kBinarySingle; in ComputeOneSumReverse()
505 SkOpAngle::IncludeType includeType) { in computeSum()
506 SkASSERT(includeType != SkOpAngle::kUnaryXor); in computeSum()
507 SkOpAngle* firstAngle = this->spanToAngle(end, start); in computeSum()
517 SkOpAngle* baseAngle = nullptr; in computeSum()
520 SkOpAngle* angle = firstAngle->previous(); in computeSum()
521 SkOpAngle* next = angle->next(); in computeSum()
524 SkOpAngle* prior = angle; in computeSum()
550 SkOpAngle* prior = firstAngle; in computeSum()
582 double SkOpSegment::distSq(double t, const SkOpAngle* oppAngle) const { in distSq()
647 int calcWinding = computeSum(start, endNear, SkOpAngle::kBinaryOpp); in findNextOp()
654 SkOpAngle* angle = this->spanToAngle(end, start); in findNextOp()
674 SkOpAngle* nextAngle = angle->next(); in findNextOp()
675 const SkOpAngle* foundAngle = nullptr; in findNextOp()
752 int calcWinding = computeSum(start, endNear, SkOpAngle::kUnaryWinding); in findNextWinding()
759 SkOpAngle* angle = this->spanToAngle(end, start); in findNextWinding()
770 SkOpAngle* nextAngle = angle->next(); in findNextWinding()
771 const SkOpAngle* foundAngle = nullptr; in findNextWinding()
848 SkOpAngle* angle = this->spanToAngle(end, start); in findNextXor()
858 SkOpAngle* nextAngle = angle->next(); in findNextXor()
859 const SkOpAngle* foundAngle = nullptr; in findNextXor()
1008 SkOpSpanBase* SkOpSegment::markAngle(int maxWinding, int sumWinding, const SkOpAngle* angle) { in markAngle()
1030 int oppSumWinding, const SkOpAngle* angle) { in markAngle()
1122 SkOpAngle* angle = step > 0 ? endSpan->fromAngle() : endSpan->upCast()->toAngle(); in nextChase()
1139 const SkOpAngle* next = angle->next(); in nextChase()
1508 SkOpAngle* fromAngle = span->fromAngle(); in sortAngles()
1509 SkOpAngle* toAngle = span->final() ? nullptr : span->upCast()->toAngle(); in sortAngles()
1516 SkOpAngle* baseAngle = fromAngle; in sortAngles()
1533 SkOpAngle* oAngle = oSpan->fromAngle(); in sortAngles()
1731 int SkOpSegment::updateOppWinding(const SkOpAngle* angle) const { in updateOppWinding()
1737 int SkOpSegment::updateOppWindingReverse(const SkOpAngle* angle) const { in updateOppWindingReverse()
1760 int SkOpSegment::updateWinding(SkOpAngle* angle) { in updateWinding()
1766 int SkOpSegment::updateWindingReverse(const SkOpAngle* angle) { in updateWindingReverse()
1784 int SkOpSegment::windSum(const SkOpAngle* angle) const { in windSum()