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

Side by Side Diff: gm/concavepaths.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/complexclip2.cpp ('k') | gm/conicpaths.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 2015 Google Inc. 2 * Copyright 2015 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 "gm.h" 8 #include "gm.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPath.h"
10 11
11 #define WIDTH 400 12 #define WIDTH 400
12 #define HEIGHT 600 13 #define HEIGHT 600
13 14
14 namespace { 15 namespace {
15 // Concave test 16 // Concave test
16 void test_concave(SkCanvas* canvas, const SkPaint& paint) { 17 void test_concave(SkCanvas* canvas, const SkPaint& paint) {
17 SkPath path; 18 SkPath path;
18 canvas->translate(0, 0); 19 canvas->translate(0, 0);
19 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); 20 path.moveTo(SkIntToScalar(20), SkIntToScalar(20));
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 test_coincident_edges_3(canvas, paint); 383 test_coincident_edges_3(canvas, paint);
383 test_coincident_edges_4(canvas, paint); 384 test_coincident_edges_4(canvas, paint);
384 } 385 }
385 386
386 private: 387 private:
387 typedef skiagm::GM INHERITED; 388 typedef skiagm::GM INHERITED;
388 }; 389 };
389 390
390 static skiagm::GM* F0(void*) { return new ConcavePathsGM; } 391 static skiagm::GM* F0(void*) { return new ConcavePathsGM; }
391 static skiagm::GMRegistry R0(F0); 392 static skiagm::GMRegistry R0(F0);
OLDNEW
« no previous file with comments | « gm/complexclip2.cpp ('k') | gm/conicpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698