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);
34 bool checkParallel(SkOpAngle* );
36 int convexHullOverlaps(const SkOpAngle* ) const;
38 const SkOpAngle* debugAngle(int id) const;
64 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const; argument
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,
68 SkOpAngle* addEndSpan(SkChunkAlloc* allocator) { in addEndSpan()
69 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in addEndSpan()
83 SkOpAngle* addStartSpan(SkChunkAlloc* allocator) { in addStartSpan()
84 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in addStartSpan()
112 void checkNearCoincidence(SkOpAngle* );
114 static void ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle,
115 SkOpAngle::IncludeType );
[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()
219 bool SkOpAngle::checkCrossesZero() const { in checkCrossesZero()
231 void SkOpAngle::checkNearCoincidence() { in checkNearCoincidence()
232 SkOpAngle* test = this; in checkNearCoincidence()
244 SkOpAngle* next = test; in checkNearCoincidence()
273 bool SkOpAngle::checkParallel(SkOpAngle* rh) { in checkParallel()
325 bool SkOpAngle::computeSector() { in computeSector()
[all …]
DSkPathOpsDebug.h170 static const struct SkOpAngle* DebugAngleAngle(const struct SkOpAngle*, int id);
171 static class SkOpContour* DebugAngleContour(struct SkOpAngle*, int id);
172 static const class SkOpPtT* DebugAnglePtT(const struct SkOpAngle*, int id);
173 static const class SkOpSegment* DebugAngleSegment(const struct SkOpAngle*, int id);
174 static const class SkOpSpanBase* DebugAngleSpan(const struct SkOpAngle*, int id);
176 static const struct SkOpAngle* DebugContourAngle(class SkOpContour*, int id);
182 static const struct SkOpAngle* DebugPtTAngle(const class SkOpPtT*, int id);
188 static const struct SkOpAngle* DebugSegmentAngle(const class SkOpSegment*, int id);
194 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()
334 SkOpAngle* priorAngle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in calcAngles()
342 SkOpAngle* angle = SkOpTAllocator<SkOpAngle>::Allocate(allocator); in calcAngles()
359 SkOpAngle* angle = base->fromAngle(); in checkAngleCoin()
378 void SkOpSegment::ComputeOneSum(const SkOpAngle* baseAngle, SkOpAngle* nextAngle, in ComputeOneSum()
379 SkOpAngle::IncludeType includeType) { in ComputeOneSum()
[all …]
DSkOpSpan.h14 struct SkOpAngle;
56 const SkOpAngle* debugAngle(int id) const;
177 const SkOpAngle* debugAngle(int id) const;
199 SkOpAngle* fromAngle() const { in fromAngle()
246 void setFromAngle(SkOpAngle* angle) { in setFromAngle()
324 SkOpAngle* fFromAngle; // points to next angle from span start to end
428 void setToAngle(SkOpAngle* angle) { in setToAngle()
444 SkOpAngle* toAngle() const { in toAngle()
461 SkOpAngle* fToAngle; // points to next angle from span start to end
DSkPathOpsDebug.cpp157 SkOpAngle* SkOpSegment::debugLastAngle() { in debugLastAngle()
158 SkOpAngle* result = NULL; in debugLastAngle()
285 SkString SkOpAngle::debugPart() const { in debugPart()
313 void SkOpAngle::debugLoop() const { in debugLoop()
314 const SkOpAngle* first = this; in debugLoop()
315 const SkOpAngle* next = this; in debugLoop()
329 void SkOpAngle::debugValidate() const { in debugValidate()
331 const SkOpAngle* first = this; in debugValidate()
332 const SkOpAngle* next = this; in debugValidate()
372 void SkOpAngle::debugValidateNext() const { in debugValidateNext()
[all …]
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()
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()
DSkPathOpsCommon.h17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
DSkPathOpsPostSect.cpp81 SkOpAngle* angle; in addSimpleAngle()
121 SkOpAngle* oAngle; in addSimpleAngle()
DSkOpContour.h123 const SkOpAngle* debugAngle(int id) const { in debugAngle()
DSkPathOpsTypes.h70 const struct SkOpAngle* debugAngle(int id) const;
/external/skia/tests/
DPathOpsDebug.cpp201 const SkOpAngle* SkPathOpsDebug::DebugAngleAngle(const SkOpAngle* angle, int id) { in DebugAngleAngle()
205 SkOpContour* SkPathOpsDebug::DebugAngleContour(SkOpAngle* angle, int id) { in DebugAngleContour()
209 const SkOpPtT* SkPathOpsDebug::DebugAnglePtT(const SkOpAngle* angle, int id) { in DebugAnglePtT()
213 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { in DebugAngleSegment()
217 const SkOpSpanBase* SkPathOpsDebug::DebugAngleSpan(const SkOpAngle* angle, int id) { in DebugAngleSpan()
221 const SkOpAngle* SkPathOpsDebug::DebugContourAngle(SkOpContour* contour, int id) { in DebugContourAngle()
241 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { in DebugPtTAngle()
261 const SkOpAngle* SkPathOpsDebug::DebugSegmentAngle(const SkOpSegment* span, int id) { in DebugSegmentAngle()
281 const SkOpAngle* SkPathOpsDebug::DebugSpanAngle(const SkOpSpanBase* span, int id) { in DebugSpanAngle()
715 const SkOpAngle* SkOpAngle::debugAngle(int id) const { in debugAngle()
[all …]
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()
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.gypi348 '<(skia_src_path)/pathops/SkOpAngle.cpp',
378 '<(skia_src_path)/pathops/SkOpAngle.h',
/external/skia/
DAndroid.mk256 src/pathops/SkOpAngle.cpp \