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

Side by Side Diff: gm/concavepaths.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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"
11 10
12 #define WIDTH 400 11 #define WIDTH 400
13 #define HEIGHT 600 12 #define HEIGHT 600
14 13
15 namespace { 14 namespace {
16 // Concave test 15 // Concave test
17 void test_concave(SkCanvas* canvas, const SkPaint& paint) { 16 void test_concave(SkCanvas* canvas, const SkPaint& paint) {
18 SkPath path; 17 SkPath path;
19 canvas->translate(0, 0); 18 canvas->translate(0, 0);
20 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); 19 path.moveTo(SkIntToScalar(20), SkIntToScalar(20));
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 test_coincident_edges_3(canvas, paint); 382 test_coincident_edges_3(canvas, paint);
384 test_coincident_edges_4(canvas, paint); 383 test_coincident_edges_4(canvas, paint);
385 } 384 }
386 385
387 private: 386 private:
388 typedef skiagm::GM INHERITED; 387 typedef skiagm::GM INHERITED;
389 }; 388 };
390 389
391 static skiagm::GM* F0(void*) { return new ConcavePathsGM; } 390 static skiagm::GM* F0(void*) { return new ConcavePathsGM; }
392 static skiagm::GMRegistry R0(F0); 391 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