| OLD | NEW |
| 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 12 matching lines...) Expand all Loading... |
| 23 public: | 23 public: |
| 24 enum IncludeType { | 24 enum IncludeType { |
| 25 kUnaryWinding, | 25 kUnaryWinding, |
| 26 kUnaryXor, | 26 kUnaryXor, |
| 27 kBinarySingle, | 27 kBinarySingle, |
| 28 kBinaryOpp, | 28 kBinaryOpp, |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 const SkOpAngle* debugAngle(int id) const; | 31 const SkOpAngle* debugAngle(int id) const; |
| 32 const SkOpCoincidence* debugCoincidence() const; | 32 const SkOpCoincidence* debugCoincidence() const; |
| 33 SkOpContour* debugContour(int id); | 33 SkOpContour* debugContour(int id) const; |
| 34 | 34 |
| 35 int debugID() const { | 35 int debugID() const { |
| 36 return SkDEBUGRELEASE(fID, -1); | 36 return SkDEBUGRELEASE(fID, -1); |
| 37 } | 37 } |
| 38 | 38 |
| 39 #if DEBUG_SORT | 39 #if DEBUG_SORT |
| 40 void debugLoop() const; | 40 void debugLoop() const; |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 #if DEBUG_ANGLE | 43 #if DEBUG_ANGLE |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 bool fComputedSector; | 132 bool fComputedSector; |
| 133 bool fCheckCoincidence; | 133 bool fCheckCoincidence; |
| 134 SkDEBUGCODE(int fID); | 134 SkDEBUGCODE(int fID); |
| 135 | 135 |
| 136 friend class PathOpsAngleTester; | 136 friend class PathOpsAngleTester; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 | 139 |
| 140 | 140 |
| 141 #endif | 141 #endif |
| OLD | NEW |