OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 | 7 |
8 #include "SkPathOpsDebug.h" | 8 #include "SkPathOpsDebug.h" |
9 #include "SkPath.h" | 9 #include "SkPath.h" |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 SkDebugf(" unsortable-end"); | 127 SkDebugf(" unsortable-end"); |
128 } | 128 } |
129 if (fTiny) { | 129 if (fTiny) { |
130 SkDebugf(" tiny"); | 130 SkDebugf(" tiny"); |
131 } else if (fSmall) { | 131 } else if (fSmall) { |
132 SkDebugf(" small"); | 132 SkDebugf(" small"); |
133 } | 133 } |
134 if (fLoop) { | 134 if (fLoop) { |
135 SkDebugf(" loop"); | 135 SkDebugf(" loop"); |
136 } | 136 } |
137 if (fNear) { | |
138 SkDebugf(" near"); | |
139 } | |
140 SkDebugf("\n"); | 137 SkDebugf("\n"); |
141 } | 138 } |
142 | 139 |
143 void Dump(const SkTArray<class SkOpAngle, true>& angles) { | 140 void Dump(const SkTArray<class SkOpAngle, true>& angles) { |
144 SkPathOpsDebug::DumpAngles(angles); | 141 SkPathOpsDebug::DumpAngles(angles); |
145 } | 142 } |
146 | 143 |
147 void Dump(const SkTArray<class SkOpAngle* , true>& angles) { | 144 void Dump(const SkTArray<class SkOpAngle* , true>& angles) { |
148 SkPathOpsDebug::DumpAngles(angles); | 145 SkPathOpsDebug::DumpAngles(angles); |
149 } | 146 } |
150 | 147 |
151 void Dump(const SkTArray<class SkOpAngle, true>* angles) { | 148 void Dump(const SkTArray<class SkOpAngle, true>* angles) { |
152 SkPathOpsDebug::DumpAngles(*angles); | 149 SkPathOpsDebug::DumpAngles(*angles); |
153 } | 150 } |
154 | 151 |
155 void Dump(const SkTArray<class SkOpAngle* , true>* angles) { | 152 void Dump(const SkTArray<class SkOpAngle* , true>* angles) { |
156 SkPathOpsDebug::DumpAngles(*angles); | 153 SkPathOpsDebug::DumpAngles(*angles); |
157 } | 154 } |
158 | 155 |
159 #endif | 156 #endif |
160 | 157 |
161 #if !FORCE_RELEASE && 0 // enable when building without extended test | 158 #if !FORCE_RELEASE && 0 // enable when building without extended test |
162 void SkPathOpsDebug::ShowPath(const SkPath& one, const SkPath& two, SkPathOp op,
const char* name) { | 159 void SkPathOpsDebug::ShowPath(const SkPath& one, const SkPath& two, SkPathOp op,
const char* name) { |
163 } | 160 } |
164 #endif | 161 #endif |
OLD | NEW |