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

Side by Side Diff: tests/PathOpsTSectDebug.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « tests/PathOpsOpTest.cpp ('k') | tests/PathOpsTestCommon.cpp » ('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 2014 Google Inc. 2 * Copyright 2014 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 "SkPathOpsTSect.h" 8 #include "SkPathOpsTSect.h"
9 9
10 template<typename TCurve, typename OppCurve> 10 template<typename TCurve, typename OppCurve>
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 template<typename TCurve, typename OppCurve> 188 template<typename TCurve, typename OppCurve>
189 void SkTSpan<TCurve, OppCurve>::dumpBounded(int id) const { 189 void SkTSpan<TCurve, OppCurve>::dumpBounded(int id) const {
190 SkDEBUGCODE(fDebugSect->dumpBounded(id)); 190 SkDEBUGCODE(fDebugSect->dumpBounded(id));
191 } 191 }
192 192
193 template<typename TCurve, typename OppCurve> 193 template<typename TCurve, typename OppCurve>
194 void SkTSpan<TCurve, OppCurve>::dumpBounds() const { 194 void SkTSpan<TCurve, OppCurve>::dumpBounds() const {
195 dumpID(); 195 dumpID();
196 SkDebugf(" bounds=(%1.9g,%1.9g, %1.9g,%1.9g) boundsMax=%1.9g%s\n", 196 SkDebugf(" bounds=(%1.9g,%1.9g, %1.9g,%1.9g) boundsMax=%1.9g%s\n",
197 fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom, fBound sMax, 197 fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom, fBound sMax,
198 fCollapsed ? " collapsed" : ""); 198 fCollapsed ? " collapsed" : "");
199 } 199 }
200 200
201 template<typename TCurve, typename OppCurve> 201 template<typename TCurve, typename OppCurve>
202 void SkTSpan<TCurve, OppCurve>::dumpCoin() const { 202 void SkTSpan<TCurve, OppCurve>::dumpCoin() const {
203 dumpID(); 203 dumpID();
204 SkDebugf(" coinStart "); 204 SkDebugf(" coinStart ");
205 fCoinStart.dump(); 205 fCoinStart.dump();
206 SkDebugf(" coinEnd "); 206 SkDebugf(" coinEnd ");
207 fCoinEnd.dump(); 207 fCoinEnd.dump();
208 } 208 }
209 209
210 template<typename TCurve, typename OppCurve> 210 template<typename TCurve, typename OppCurve>
211 void SkTSpan<TCurve, OppCurve>::dumpID() const { 211 void SkTSpan<TCurve, OppCurve>::dumpID() const {
212 char cS = fCoinStart.dumpIsCoincidentStr(); 212 char cS = fCoinStart.dumpIsCoincidentStr();
213 if (cS) { 213 if (cS) {
214 SkDebugf("%c", cS); 214 SkDebugf("%c", cS);
215 } 215 }
216 SkDebugf("%d", debugID()); 216 SkDebugf("%d", debugID());
217 char cE = fCoinEnd.dumpIsCoincidentStr(); 217 char cE = fCoinEnd.dumpIsCoincidentStr();
218 if (cE) { 218 if (cE) {
219 SkDebugf("%c", cE); 219 SkDebugf("%c", cE);
220 } 220 }
221 } 221 }
OLDNEW
« no previous file with comments | « tests/PathOpsOpTest.cpp ('k') | tests/PathOpsTestCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698