| 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 "SkChunkAlloc.h" | 10 #include "SkChunkAlloc.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 class SkOpAngleSet { | 155 class SkOpAngleSet { |
| 156 public: | 156 public: |
| 157 SkOpAngleSet(); | 157 SkOpAngleSet(); |
| 158 ~SkOpAngleSet(); | 158 ~SkOpAngleSet(); |
| 159 SkOpAngle& push_back(); | 159 SkOpAngle& push_back(); |
| 160 void reset(); | 160 void reset(); |
| 161 private: | 161 private: |
| 162 void dump() const; // utility to be called by user from debugger | 162 void dump() const; // utility to be called by user from debugger |
| 163 SkChunkAlloc* fAngles; |
| 163 #if DEBUG_ANGLE | 164 #if DEBUG_ANGLE |
| 164 int fCount; | 165 int fCount; |
| 165 #endif | 166 #endif |
| 166 SkChunkAlloc* fAngles; | |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 #endif | 169 #endif |
| OLD | NEW |