Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpAngle.h22 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 …]
DSkOpSegment.h35 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 …]
DSkOpAngle.cpp61 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 …]
DSkPathOpsDebug.h196 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);
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()
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 …]
DSkOpSpan.h15 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
DSkPathOpsCommon.cpp14 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()
DSkPathOpsDebug.cpp549 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 …]
DSkPathOpsCommon.h17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
DSkPathOpsOp.cpp23 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()
DSkOpCoincidence.h52 const SkOpAngle* debugAngle(int id) const { in debugAngle()
DSkOpContour.h131 const SkOpAngle* debugAngle(int id) const { in debugAngle()
DSkPathOpsTypes.h67 const struct SkOpAngle* debugAngle(int id) const;
/external/skia/tests/
DPathOpsAngleTest.cpp193 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()
DPathOpsDebug.cpp198 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 …]
DPathOpsAngleIdeas.cpp21 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps()
25 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect()
/external/skia/gyp/
Dcore.gypi436 '<(skia_src_path)/pathops/SkOpAngle.cpp',
466 '<(skia_src_path)/pathops/SkOpAngle.h',
/external/skia/
DAndroid.mk290 src/pathops/SkOpAngle.cpp \