| 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 24 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |