Home
last modified time | relevance | path

Searched refs:SkOpPtT (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/pathops/
DSkOpCoincidence.h15 class SkOpPtT; variable
20 const SkOpPtT* coinPtTEnd() const;
21 const SkOpPtT* coinPtTStart() const;
25 SkOpPtT* coinPtTEndWritable() const { return const_cast<SkOpPtT*>(fCoinPtTEnd); } in coinPtTEndWritable()
26 SkOpPtT* coinPtTStartWritable() const { return const_cast<SkOpPtT*>(fCoinPtTStart); } in coinPtTStartWritable()
28 bool collapsed(const SkOpPtT* ) const;
29 bool contains(const SkOpPtT* s, const SkOpPtT* e) const;
31 void correctOneEnd(const SkOpPtT* (SkCoincidentSpans::* getEnd)() const,
32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) );
37 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const,
[all …]
DSkOpSpan.cpp12 bool SkOpPtT::alias() const { in alias()
16 const SkOpPtT* SkOpPtT::active() const { in active()
20 const SkOpPtT* ptT = this; in active()
21 const SkOpPtT* stopPtT = ptT; in active()
31 bool SkOpPtT::contains(const SkOpPtT* check) const { in contains()
33 const SkOpPtT* ptT = this; in contains()
34 const SkOpPtT* stopPtT = ptT; in contains()
43 bool SkOpPtT::contains(const SkOpSegment* segment, const SkPoint& pt) const { in contains()
45 const SkOpPtT* ptT = this; in contains()
46 const SkOpPtT* stopPtT = ptT; in contains()
[all …]
DSkOpSpan.h24 class SkOpPtT {
31 const SkOpPtT* active() const;
34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp()
35 SkOpPtT* oldNext = this->fNext; in addOpp()
44 bool contains(const SkOpPtT* ) const;
47 const SkOpPtT* contains(const SkOpSegment* ) const;
54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const;
57 bool debugContains(const SkOpPtT* ) const;
58 const SkOpPtT* debugContains(const SkOpSegment* check) const;
60 const SkOpPtT* debugEnder(const SkOpPtT* end) const;
[all …]
DSkPathWriter.h14 class SkOpPtT; variable
24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight);
25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3);
26 bool deferredLine(const SkOpPtT* pt);
27 void deferredMove(const SkOpPtT* pt);
33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2);
36 bool changedSlopes(const SkOpPtT* pt) const;
38 const SkTDArray<const SkOpPtT*>& endPtTs() const { return fEndPtTs; } in endPtTs()
40 bool matchedLast(const SkOpPtT*) const;
44 void update(const SkOpPtT* pt);
[all …]
DSkOpCoincidence.cpp12 bool SkCoincidentSpans::collapsed(const SkOpPtT* test) const { in collapsed()
20 const SkOpPtT* SkCoincidentSpans::coinPtTEnd() const { in coinPtTEnd()
25 const SkOpPtT* SkCoincidentSpans::coinPtTStart() const { in coinPtTStart()
31 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, in correctOneEnd()
32 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { in correctOneEnd()
33 const SkOpPtT* origPtT = (this->*getEnd)(); in correctOneEnd()
36 const SkOpPtT* testPtT = prev ? prev->next()->ptT() in correctOneEnd()
63 const SkOpPtT* oppPtT; in expand()
80 const SkOpPtT* oppPtT; in expand()
95 bool SkCoincidentSpans::extend(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd, in extend()
[all …]
DSkPathOpsDebug.cpp83 const SkOpPtT* fCoinSpan;
84 const SkOpPtT* fEndSpan;
85 const SkOpPtT* fOppSpan;
86 const SkOpPtT* fOppEndSpan;
129 const SkOpPtT* ptT) { in record()
164 const SkOpPtT* coinSpan, const SkOpPtT* endSpan) { in record()
181 void record(GlitchType type, const SkOpPtT* ptTS, const SkOpPtT* ptTE, in record()
182 const SkOpPtT* oPtTS, const SkOpPtT* oPtTE) { in record()
220 const SkOpPtT* ptT) { in record()
747 const SkOpPtT* SkOpSegment::debugAddT(double t, SkPathOpsDebug::GlitchLog* log) const { in debugAddT()
[all …]
DSkPathWriter.cpp33 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo()
42 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo()
51 bool SkPathWriter::deferredLine(const SkOpPtT* pt) { in deferredLine()
73 void SkPathWriter::deferredMove(const SkOpPtT* pt) { in deferredMove()
125 bool SkPathWriter::matchedLast(const SkOpPtT* test) const { in matchedLast()
145 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo()
154 void SkPathWriter::update(const SkOpPtT* pt) { in update()
168 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { in changedSlopes()
203 SkOpPtT const* const* runs = fEndPtTs.begin(); // starts, ends of partial contours in assemble()
209 const SkOpPtT* eStart = runs[index]; in assemble()
[all …]
DSkPathOpsDebug.h338 static const class SkOpPtT* DebugAnglePtT(const class SkOpAngle*, int id);
344 static const class SkOpPtT* DebugContourPtT(class SkOpContour*, int id);
350 static const class SkOpPtT* DebugCoincidencePtT(class SkOpCoincidence*, int id);
354 static const class SkOpAngle* DebugPtTAngle(const class SkOpPtT*, int id);
355 static class SkOpContour* DebugPtTContour(class SkOpPtT*, int id);
356 static const class SkOpPtT* DebugPtTPtT(const class SkOpPtT*, int id);
357 static const class SkOpSegment* DebugPtTSegment(const class SkOpPtT*, int id);
358 static const class SkOpSpanBase* DebugPtTSpan(const class SkOpPtT*, int id);
362 static const class SkOpPtT* DebugSegmentPtT(const class SkOpSegment*, int id);
368 static const class SkOpPtT* DebugSpanPtT(const class SkOpSpanBase*, int id);
DSkOpSegment.cpp99 SkOpPtT* oPtT = start->ptT()->next(); in activeAngleOther()
191 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing()
193 const SkOpPtT* testPtT; in existing()
209 const SkOpPtT* loop = testPtT->next(); in existing()
229 SkOpPtT* newPtT = this->addT(newT); in addExpanded()
235 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded()
247 SkOpPtT* SkOpSegment::addT(double t, const SkPoint& pt) { in addT()
251 SkOpPtT* result = spanBase->ptT(); in addT()
276 SkOpPtT* SkOpSegment::addT(double t) { in addT()
1001 bool SkOpSegment::match(const SkOpPtT* base, const SkOpSegment* testParent, double testT, in match()
[all …]
DSkOpSegment.h78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist);
95 SkOpPtT* addT(double t);
96 SkOpPtT* addT(double t, const SkPoint& pt);
129 const SkOpPtT* debugAddT(double t, SkPathOpsDebug::GlitchLog* ) const;
153 const SkOpPtT* debugPtT(int id) const;
213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const;
288 bool match(const SkOpPtT* span, const SkOpSegment* parent, double t, const SkPoint& pt) const;
320 bool ptsDisjoint(const SkOpPtT& span, const SkOpPtT& test) const { in ptsDisjoint()
326 bool ptsDisjoint(const SkOpPtT& span, double t, const SkPoint& pt) const { in ptsDisjoint()
395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
DSkOpAngle.h17 class SkOpPtT; variable
48 const SkOpPtT* debugPtT(int id) const;
DSkAddIntersections.cpp507 SkOpPtT* coinPtT[2]; in AddIntersectTs()
518 SkOpPtT* testTAt = iPtIsIntegral ? wt.segment()->addT(ts[swap][pt], iPt) in AddIntersectTs()
521 SkOpPtT* nextTAt = iPtIsIntegral ? wn.segment()->addT(ts[!swap][pt], iPt) in AddIntersectTs()
524 SkOpPtT* oppPrev = testTAt->oppPrev(nextTAt); // Returns nullptr if pair in AddIntersectTs()
DSkOpContour.h109 const SkOpPtT* debugPtT(int id) const { in debugPtT()
DSkPathOpsTypes.h77 const class SkOpPtT* debugPtT(int id) const;
/external/skia/tests/
DPathOpsDebug.cpp219 const SkOpPtT* SkPathOpsDebug::DebugAnglePtT(const SkOpAngle* angle, int id) { in DebugAnglePtT()
239 const SkOpPtT* SkPathOpsDebug::DebugContourPtT(SkOpContour* contour, int id) { in DebugContourPtT()
259 const SkOpPtT* SkPathOpsDebug::DebugCoincidencePtT(SkOpCoincidence* coin, int id) { in DebugCoincidencePtT()
271 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { in DebugPtTAngle()
275 SkOpContour* SkPathOpsDebug::DebugPtTContour(SkOpPtT* ptT, int id) { in DebugPtTContour()
279 const SkOpPtT* SkPathOpsDebug::DebugPtTPtT(const SkOpPtT* ptT, int id) { in DebugPtTPtT()
283 const SkOpSegment* SkPathOpsDebug::DebugPtTSegment(const SkOpPtT* ptT, int id) { in DebugPtTSegment()
287 const SkOpSpanBase* SkPathOpsDebug::DebugPtTSpan(const SkOpPtT* ptT, int id) { in DebugPtTSpan()
299 const SkOpPtT* SkPathOpsDebug::DebugSegmentPtT(const SkOpSegment* span, int id) { in DebugSegmentPtT()
319 const SkOpPtT* SkPathOpsDebug::DebugSpanPtT(const SkOpSpanBase* span, int id) { in DebugSpanPtT()
[all …]
DPathOpsAngleTest.cpp482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle()
484 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle()