Home
last modified time | relevance | path

Searched refs:SkOpAngle (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/pathops/
DSkOpAngle.h22 class SkOpAngle {
31 const SkOpAngle* debugAngle(int id) const;
60 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const;
67 bool insert(SkOpAngle* );
69 bool loopContains(const SkOpAngle* ) const;
72 SkOpAngle* next() const { in next()
76 SkOpAngle* previous() const;
99 bool after(SkOpAngle* test);
100 void alignmentSameSide(const SkOpAngle* test, int* order) const;
101 int allOnOneSide(const SkOpAngle* test);
[all …]
DSkOpSegment.h30 SkOpAngle* activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, SkOpSpanBase** endPtr,
32 SkOpAngle* activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr,
34 SkOpAngle* activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr,
62 SkOpAngle* addEndSpan() { in addEndSpan()
63 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addEndSpan()
80 SkOpAngle* addStartSpan() { in addStartSpan()
81 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addStartSpan()
108 static void ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle,
109 SkOpAngle::IncludeType );
110 static void ComputeOneSumReverse(SkOpAngle* baseAngle, SkOpAngle* nextAngle,
[all …]
DSkOpAngle.cpp61 bool SkOpAngle::after(SkOpAngle* test) { in after()
62 SkOpAngle* lh = test; in after()
63 SkOpAngle* rh = lh->fNext; in after()
181 int SkOpAngle::allOnOneSide(const SkOpAngle* test) { in allOnOneSide()
220 void SkOpAngle::alignmentSameSide(const SkOpAngle* test, int* order) const { in alignmentSameSide()
251 bool SkOpAngle::checkCrossesZero() const { in checkCrossesZero()
258 bool SkOpAngle::checkParallel(SkOpAngle* rh) { in checkParallel()
309 bool SkOpAngle::computeSector() { in computeSector()
359 int SkOpAngle::convexHullOverlaps(const SkOpAngle* rh) { in convexHullOverlaps()
407 double SkOpAngle::distEndRatio(double dist) const { in distEndRatio()
[all …]
DSkOpSegment.cpp45 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()
[all …]
DSkPathOpsDebug.h336 static const class SkOpAngle* DebugAngleAngle(const class SkOpAngle*, int id);
337 static class SkOpContour* DebugAngleContour(class SkOpAngle*, int id);
338 static const class SkOpPtT* DebugAnglePtT(const class SkOpAngle*, int id);
339 static const class SkOpSegment* DebugAngleSegment(const class SkOpAngle*, int id);
340 static const class SkOpSpanBase* DebugAngleSpan(const class SkOpAngle*, int id);
342 static const class SkOpAngle* DebugContourAngle(class SkOpContour*, int id);
348 static const class SkOpAngle* DebugCoincidenceAngle(class SkOpCoincidence*, int id);
354 static const class SkOpAngle* DebugPtTAngle(const class SkOpPtT*, int id);
360 static const class SkOpAngle* DebugSegmentAngle(const class SkOpSegment*, int id);
366 static const class SkOpAngle* DebugSpanAngle(const class SkOpSpanBase*, int id);
DSkOpSpan.h15 class SkOpAngle; variable
55 const SkOpAngle* debugAngle(int id) const;
228 const SkOpAngle* debugAngle(int id) const;
270 SkOpAngle* fromAngle() const { in fromAngle()
325 void setFromAngle(SkOpAngle* angle) { in setFromAngle()
403 SkOpAngle* fFromAngle; // points to next angle from span start to end
525 void setToAngle(SkOpAngle* angle) { in setToAngle()
542 SkOpAngle* toAngle() const { in toAngle()
559 SkOpAngle* fToAngle; // points to next angle from span start to end
DSkPathOpsCommon.cpp36 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr, in AngleWinding()
40 const SkOpAngle* angle = segment->spanToAngle(start, end); in AngleWinding()
46 const SkOpAngle* firstAngle = angle; in AngleWinding()
111 if (SkOpAngle* last = segment->activeAngle(*startPtr, startPtr, endPtr, &done)) { in FindChase()
127 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase()
140 const SkOpAngle* firstAngle = angle; in FindChase()
DSkPathOpsOp.cpp23 if (SkOpAngle* last = segment->activeAngle(*startPtr, startPtr, endPtr, &done)) { in findChaseOp()
38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in findChaseOp()
63 const SkOpAngle* firstAngle = angle; in findChaseOp()
DSkPathOpsCommon.h17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
DSkPathOpsDebug.cpp783 const SkOpAngle* angle = base->fromAngle(); in debugCheckAngleCoin()
824 SkOpAngle* SkOpSegment::debugLastAngle() { in debugLastAngle()
825 SkOpAngle* result = nullptr; in debugLastAngle()
1256 void SkOpAngle::debugCheckNearCoincidence() const { in debugCheckNearCoincidence()
1257 const SkOpAngle* test = this; in debugCheckNearCoincidence()
1267 const SkOpAngle* next = test; in debugCheckNearCoincidence()
1296 SkString SkOpAngle::debugPart() const { in debugPart()
1324 void SkOpAngle::debugLoop() const { in debugLoop()
1325 const SkOpAngle* first = this; in debugLoop()
1326 const SkOpAngle* next = this; in debugLoop()
[all …]
DSkOpContour.h87 const SkOpAngle* debugAngle(int id) const { in debugAngle()
DSkOpCoincidence.h168 const SkOpAngle* debugAngle(int id) const { in debugAngle()
DSkPathOpsTypes.h74 const class SkOpAngle* debugAngle(int id) const;
/external/skia/tests/
DPathOpsAngleTest.cpp195 static int After(SkOpAngle& lh, SkOpAngle& rh) { in After()
199 static int AllOnOneSide(SkOpAngle& lh, SkOpAngle& rh) { in AllOnOneSide()
203 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps()
207 static int Orderable(SkOpAngle& lh, SkOpAngle& rh) { in Orderable()
211 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect()
215 static void SetNext(SkOpAngle& lh, SkOpAngle& rh) { in SetNext()
468 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST()
469 SkOpAngle& angle2 = *seg2->debugLastAngle(); in DEF_TEST()
470 SkOpAngle& angle3 = *seg3->debugLastAngle(); in DEF_TEST()
486 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in debugAddAngle()
DPathOpsDebug.cpp211 const SkOpAngle* SkPathOpsDebug::DebugAngleAngle(const SkOpAngle* angle, int id) { in DebugAngleAngle()
215 SkOpContour* SkPathOpsDebug::DebugAngleContour(SkOpAngle* angle, int id) { in DebugAngleContour()
219 const SkOpPtT* SkPathOpsDebug::DebugAnglePtT(const SkOpAngle* angle, int id) { in DebugAnglePtT()
223 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { in DebugAngleSegment()
227 const SkOpSpanBase* SkPathOpsDebug::DebugAngleSpan(const SkOpAngle* angle, int id) { in DebugAngleSpan()
231 const SkOpAngle* SkPathOpsDebug::DebugContourAngle(SkOpContour* contour, int id) { in DebugContourAngle()
251 const SkOpAngle* SkPathOpsDebug::DebugCoincidenceAngle(SkOpCoincidence* coin, int id) { in DebugCoincidenceAngle()
271 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { in DebugPtTAngle()
291 const SkOpAngle* SkPathOpsDebug::DebugSegmentAngle(const SkOpSegment* span, int id) { in DebugSegmentAngle()
311 const SkOpAngle* SkPathOpsDebug::DebugSpanAngle(const SkOpSpanBase* span, int id) { in DebugSpanAngle()
[all …]
DPathOpsAngleIdeas.cpp21 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps()
25 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect()
/external/skia/gn/
Dcore.gni481 "$_src/pathops/SkOpAngle.cpp",
511 "$_src/pathops/SkOpAngle.h",
/external/skia/
DAndroid.bp612 "src/pathops/SkOpAngle.cpp",