Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1183)

Side by Side Diff: src/pathops/SkOpSpan.h

Issue 2300203002: interpolation of coincidence must be local to a single span (Closed)
Patch Set: fix another warning Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pathops/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #ifndef SkOpSpan_DEFINED 7 #ifndef SkOpSpan_DEFINED
8 #define SkOpSpan_DEFINED 8 #define SkOpSpan_DEFINED
9 9
10 #include "SkPathOpsDebug.h" 10 #include "SkPathOpsDebug.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int debugID() const { 51 int debugID() const {
52 return SkDEBUGRELEASE(fID, -1); 52 return SkDEBUGRELEASE(fID, -1);
53 } 53 }
54 54
55 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const; 55 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const;
56 const SkOpAngle* debugAngle(int id) const; 56 const SkOpAngle* debugAngle(int id) const;
57 const SkOpCoincidence* debugCoincidence() const; 57 const SkOpCoincidence* debugCoincidence() const;
58 bool debugContains(const SkOpPtT* ) const; 58 bool debugContains(const SkOpPtT* ) const;
59 const SkOpPtT* debugContains(const SkOpSegment* check) const; 59 const SkOpPtT* debugContains(const SkOpSegment* check) const;
60 SkOpContour* debugContour(int id) const; 60 SkOpContour* debugContour(int id) const;
61 const SkOpPtT* debugEnder(const SkOpPtT* end) const;
61 int debugLoopLimit(bool report) const; 62 int debugLoopLimit(bool report) const;
62 bool debugMatchID(int id) const; 63 bool debugMatchID(int id) const;
63 const SkOpPtT* debugOppPrev(const SkOpPtT* opp) const; 64 const SkOpPtT* debugOppPrev(const SkOpPtT* opp) const;
64 const SkOpPtT* debugPtT(int id) const; 65 const SkOpPtT* debugPtT(int id) const;
65 void debugResetCoinT() const; 66 void debugResetCoinT() const;
66 const SkOpSegment* debugSegment(int id) const; 67 const SkOpSegment* debugSegment(int id) const;
67 void debugSetCoinT(int ) const; 68 void debugSetCoinT(int ) const;
68 const SkOpSpanBase* debugSpan(int id) const; 69 const SkOpSpanBase* debugSpan(int id) const;
69 void debugValidate() const; 70 void debugValidate() const;
70 71
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 int fWindSum; // accumulated from contours surrounding this one. 567 int fWindSum; // accumulated from contours surrounding this one.
567 int fOppSum; // for binary operators: the opposite winding sum 568 int fOppSum; // for binary operators: the opposite winding sum
568 int fWindValue; // 0 == canceled; 1 == normal; >1 == coincident 569 int fWindValue; // 0 == canceled; 1 == normal; >1 == coincident
569 int fOppValue; // normally 0 -- when binary coincident edges combine, opp v alue goes here 570 int fOppValue; // normally 0 -- when binary coincident edges combine, opp v alue goes here
570 int fTopTTry; // specifies direction and t value to try next 571 int fTopTTry; // specifies direction and t value to try next
571 bool fDone; // if set, this span to next higher T has been processed 572 bool fDone; // if set, this span to next higher T has been processed
572 mutable bool fAlreadyAdded; 573 mutable bool fAlreadyAdded;
573 }; 574 };
574 575
575 #endif 576 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698