/external/skia/src/pathops/ |
D | SkOpAngle.h | 22 struct SkOpAngle { struct 30 bool after(SkOpAngle* test); argument 31 int allOnOneSide(const SkOpAngle* test); 33 bool checkParallel(SkOpAngle* ); 35 int convexHullOverlaps(const SkOpAngle* ) const; 37 const SkOpAngle* debugAngle(int id) const; 64 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const; 71 bool endsIntersect(SkOpAngle* ); argument 72 bool endToSide(const SkOpAngle* rh, bool* inside) const; 75 void insert(SkOpAngle* ); [all …]
|
D | SkOpSegment.h | 35 SkOpAngle* activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, SkOpSpanBase** endPtr, 37 SkOpAngle* activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, 39 SkOpAngle* activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, 74 SkOpAngle* addEndSpan(SkChunkAlloc* allocator) { in addEndSpan() 75 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in addEndSpan() 89 SkOpAngle* addStartSpan(SkChunkAlloc* allocator) { in addStartSpan() 90 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in addStartSpan() 118 static void ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle, 119 SkOpAngle::IncludeType ); 120 static void ComputeOneSumReverse(SkOpAngle* baseAngle, SkOpAngle* nextAngle, [all …]
|
D | SkOpAngle.cpp | 61 bool SkOpAngle::after(SkOpAngle* test) { in after() 62 SkOpAngle* lh = test; in after() 63 SkOpAngle* rh = lh->fNext; in after() 175 int SkOpAngle::allOnOneSide(const SkOpAngle* test) { in allOnOneSide() 218 bool SkOpAngle::checkCrossesZero() const { in checkCrossesZero() 225 bool SkOpAngle::checkParallel(SkOpAngle* rh) { in checkParallel() 277 bool SkOpAngle::computeSector() { in computeSector() 327 int SkOpAngle::convexHullOverlaps(const SkOpAngle* rh) const { in convexHullOverlaps() 375 double SkOpAngle::distEndRatio(double dist) const { in distEndRatio() 394 bool SkOpAngle::endsIntersect(SkOpAngle* rh) { in endsIntersect() [all …]
|
D | SkPathOpsDebug.h | 196 static const struct SkOpAngle* DebugAngleAngle(const struct SkOpAngle*, int id); 197 static class SkOpContour* DebugAngleContour(struct SkOpAngle*, int id); 198 static const class SkOpPtT* DebugAnglePtT(const struct SkOpAngle*, int id); 199 static const class SkOpSegment* DebugAngleSegment(const struct SkOpAngle*, int id); 200 static const class SkOpSpanBase* DebugAngleSpan(const struct SkOpAngle*, int id); 202 static const struct SkOpAngle* DebugContourAngle(class SkOpContour*, int id); 208 static const struct SkOpAngle* DebugCoincidenceAngle(class SkOpCoincidence*, int id); 214 static const struct SkOpAngle* DebugPtTAngle(const class SkOpPtT*, int id); 220 static const struct SkOpAngle* DebugSegmentAngle(const class SkOpSegment*, int id); 226 static const struct SkOpAngle* DebugSpanAngle(const class SkOpSpanBase*, int id);
|
D | SkOpSegment.cpp | 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() [all …]
|
D | SkOpSpan.h | 15 struct SkOpAngle; 60 const SkOpAngle* debugAngle(int id) const; 211 const SkOpAngle* debugAngle(int id) const; 235 SkOpAngle* fromAngle() const { in fromAngle() 286 void setFromAngle(SkOpAngle* angle) { in setFromAngle() 364 SkOpAngle* fFromAngle; // points to next angle from span start to end 476 void setToAngle(SkOpAngle* angle) { in setToAngle() 492 SkOpAngle* toAngle() const { in toAngle() 509 SkOpAngle* fToAngle; // points to next angle from span start to end
|
D | SkPathOpsCommon.cpp | 14 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr, in AngleWinding() 18 const SkOpAngle* angle = segment->spanToAngle(start, end); in AngleWinding() 24 const SkOpAngle* firstAngle = angle; in AngleWinding() 85 if (SkOpAngle* last = segment->activeAngle(*startPtr, startPtr, endPtr, &done)) { in FindChase() 101 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in FindChase() 111 const SkOpAngle* firstAngle = angle; in FindChase()
|
D | SkPathOpsDebug.cpp | 549 const SkOpAngle* angle = base->fromAngle(); in debugCheckAngleCoin() 596 SkOpAngle* SkOpSegment::debugLastAngle() { in debugLastAngle() 597 SkOpAngle* result = nullptr; in debugLastAngle() 964 void SkOpAngle::debugCheckNearCoincidence() const { in debugCheckNearCoincidence() 965 const SkOpAngle* test = this; in debugCheckNearCoincidence() 975 const SkOpAngle* next = test; in debugCheckNearCoincidence() 1004 SkString SkOpAngle::debugPart() const { in debugPart() 1032 void SkOpAngle::debugLoop() const { in debugLoop() 1033 const SkOpAngle* first = this; in debugLoop() 1034 const SkOpAngle* next = this; in debugLoop() [all …]
|
D | SkPathOpsCommon.h | 17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
|
D | SkPathOpsOp.cpp | 23 if (SkOpAngle* last = segment->activeAngle(*startPtr, startPtr, endPtr, &done)) { in findChaseOp() 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); in findChaseOp() 52 const SkOpAngle* firstAngle = angle; in findChaseOp()
|
D | SkOpCoincidence.h | 52 const SkOpAngle* debugAngle(int id) const { in debugAngle()
|
D | SkOpContour.h | 131 const SkOpAngle* debugAngle(int id) const { in debugAngle()
|
D | SkPathOpsTypes.h | 67 const struct SkOpAngle* debugAngle(int id) const;
|
/external/skia/tests/ |
D | PathOpsAngleTest.cpp | 193 static int After(SkOpAngle& lh, SkOpAngle& rh) { in After() 197 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps() 201 static int Orderable(SkOpAngle& lh, SkOpAngle& rh) { in Orderable() 205 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect() 209 static void SetNext(SkOpAngle& lh, SkOpAngle& rh) { in SetNext() 462 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST() 463 SkOpAngle& angle2 = *seg2->debugLastAngle(); in DEF_TEST() 464 SkOpAngle& angle3 = *seg3->debugLastAngle(); in DEF_TEST() 480 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in debugAddAngle()
|
D | PathOpsDebug.cpp | 198 const SkOpAngle* SkPathOpsDebug::DebugAngleAngle(const SkOpAngle* angle, int id) { in DebugAngleAngle() 202 SkOpContour* SkPathOpsDebug::DebugAngleContour(SkOpAngle* angle, int id) { in DebugAngleContour() 206 const SkOpPtT* SkPathOpsDebug::DebugAnglePtT(const SkOpAngle* angle, int id) { in DebugAnglePtT() 210 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { in DebugAngleSegment() 214 const SkOpSpanBase* SkPathOpsDebug::DebugAngleSpan(const SkOpAngle* angle, int id) { in DebugAngleSpan() 218 const SkOpAngle* SkPathOpsDebug::DebugContourAngle(SkOpContour* contour, int id) { in DebugContourAngle() 238 const SkOpAngle* SkPathOpsDebug::DebugCoincidenceAngle(SkOpCoincidence* coin, int id) { in DebugCoincidenceAngle() 258 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { in DebugPtTAngle() 278 const SkOpAngle* SkPathOpsDebug::DebugSegmentAngle(const SkOpSegment* span, int id) { in DebugSegmentAngle() 298 const SkOpAngle* SkPathOpsDebug::DebugSpanAngle(const SkOpSpanBase* span, int id) { in DebugSpanAngle() [all …]
|
D | PathOpsAngleIdeas.cpp | 21 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps() 25 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect()
|
/external/skia/gyp/ |
D | core.gypi | 436 '<(skia_src_path)/pathops/SkOpAngle.cpp', 466 '<(skia_src_path)/pathops/SkOpAngle.h',
|
/external/skia/ |
D | Android.mk | 290 src/pathops/SkOpAngle.cpp \
|