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

Side by Side Diff: gm/emptypath.cpp

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 | « gm/dstreadshuffle.cpp ('k') | gm/filterfastbounds.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
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 #include "gm.h" 7 #include "gm.h"
9 #include "SkCanvas.h" 8 #include "SkCanvas.h"
10 #include "SkPaint.h" 9 #include "SkPaint.h"
11 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 dotPaint.setStrokeWidth(7); 193 dotPaint.setStrokeWidth(7);
195 194
196 for (size_t i = 0; i < SK_ARRAY_COUNT(procs); ++i) { 195 for (size_t i = 0; i < SK_ARRAY_COUNT(procs); ++i) {
197 SkPath path; 196 SkPath path;
198 procs[i](&path, fPts); 197 procs[i](&path, fPts);
199 canvas->drawPoints(SkCanvas::kPoints_PointMode, 3, fPts, dotPaint); 198 canvas->drawPoints(SkCanvas::kPoints_PointMode, 3, fPts, dotPaint);
200 canvas->drawPath(path, strokePaint); 199 canvas->drawPath(path, strokePaint);
201 canvas->translate(0, 40); 200 canvas->translate(0, 40);
202 } 201 }
203 } 202 }
204 203
205 private: 204 private:
206 typedef GM INHERITED; 205 typedef GM INHERITED;
207 }; 206 };
208 DEF_GM( return new EmptyStrokeGM; ) 207 DEF_GM( return new EmptyStrokeGM; )
209 208
210 } 209 }
OLDNEW
« no previous file with comments | « gm/dstreadshuffle.cpp ('k') | gm/filterfastbounds.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698