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

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

Issue 1096923003: working on initial winding for cubics (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | src/pathops/SkOpContour.h » ('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 SkOpAngle_DEFINED 7 #ifndef SkOpAngle_DEFINED
8 #define SkOpAngle_DEFINED 8 #define SkOpAngle_DEFINED
9 9
10 #include "SkLineParameters.h" 10 #include "SkLineParameters.h"
(...skipping 24 matching lines...) Expand all
35 bool computeSector(); 35 bool computeSector();
36 int convexHullOverlaps(const SkOpAngle* ) const; 36 int convexHullOverlaps(const SkOpAngle* ) const;
37 37
38 const SkOpAngle* debugAngle(int id) const; 38 const SkOpAngle* debugAngle(int id) const;
39 SkOpContour* debugContour(int id); 39 SkOpContour* debugContour(int id);
40 40
41 int debugID() const { 41 int debugID() const {
42 return SkDEBUGRELEASE(fID, -1); 42 return SkDEBUGRELEASE(fID, -1);
43 } 43 }
44 44
45 #if DEBUG_SORT 45 #if DEBUG_SORT || DEBUG_SWAP_TOP
46 void debugLoop() const; 46 void debugLoop() const;
47 #endif 47 #endif
48 48
49 #if DEBUG_ANGLE 49 #if DEBUG_ANGLE
50 SkString debugPart() const; 50 SkString debugPart() const;
51 #endif 51 #endif
52 const SkOpPtT* debugPtT(int id) const; 52 const SkOpPtT* debugPtT(int id) const;
53 const SkOpSegment* debugSegment(int id) const; 53 const SkOpSegment* debugSegment(int id) const;
54 const SkOpSpanBase* debugSpan(int id) const; 54 const SkOpSpanBase* debugSpan(int id) const;
55 void debugValidate() const; 55 void debugValidate() const;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool fComputeSector; 144 bool fComputeSector;
145 bool fComputedSector; 145 bool fComputedSector;
146 bool fCheckCoincidence; 146 bool fCheckCoincidence;
147 SkDEBUGCODE(int fID); 147 SkDEBUGCODE(int fID);
148 148
149 }; 149 };
150 150
151 151
152 152
153 #endif 153 #endif
OLDNEW
« no previous file with comments | « no previous file | src/pathops/SkOpContour.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698