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

Side by Side Diff: gm/strokes.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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/stlouisarch.cpp ('k') | include/core/SkAnnotation.h » ('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 7
9
10
11 #include "gm.h" 8 #include "gm.h"
9 #include "SkPath.h"
12 #include "SkRandom.h" 10 #include "SkRandom.h"
13 11
14 #define W 400 12 #define W 400
15 #define H 400 13 #define H 400
16 #define N 50 14 #define N 50
17 15
18 static const SkScalar SW = SkIntToScalar(W); 16 static const SkScalar SW = SkIntToScalar(W);
19 static const SkScalar SH = SkIntToScalar(H); 17 static const SkScalar SH = SkIntToScalar(H);
20 18
21 static void rnd_rect(SkRect* r, SkPaint* paint, SkRandom& rand) { 19 static void rnd_rect(SkRect* r, SkPaint* paint, SkRandom& rand) {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 271
274 static skiagm::GM* F0(void*) { return new StrokesGM; } 272 static skiagm::GM* F0(void*) { return new StrokesGM; }
275 static skiagm::GM* F1(void*) { return new Strokes2GM; } 273 static skiagm::GM* F1(void*) { return new Strokes2GM; }
276 static skiagm::GM* F2(void*) { return new Strokes3GM; } 274 static skiagm::GM* F2(void*) { return new Strokes3GM; }
277 static skiagm::GM* F3(void*) { return new Strokes4GM; } 275 static skiagm::GM* F3(void*) { return new Strokes4GM; }
278 276
279 static skiagm::GMRegistry R0(F0); 277 static skiagm::GMRegistry R0(F0);
280 static skiagm::GMRegistry R1(F1); 278 static skiagm::GMRegistry R1(F1);
281 static skiagm::GMRegistry R2(F2); 279 static skiagm::GMRegistry R2(F2);
282 static skiagm::GMRegistry R3(F3); 280 static skiagm::GMRegistry R3(F3);
OLDNEW
« no previous file with comments | « gm/stlouisarch.cpp ('k') | include/core/SkAnnotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698