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

Side by Side Diff: gm/nested.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/linepaths.cpp ('k') | gm/pathfill.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 2013 Google Inc. 2 * Copyright 2013 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 "SkPath.h"
10 #include "SkRandom.h" 9 #include "SkRandom.h"
11 #include "SkRRect.h" 10 #include "SkRRect.h"
12 11
13 namespace skiagm { 12 namespace skiagm {
14 13
15 // Test out various combinations of nested rects, ovals and rrects. 14 // Test out various combinations of nested rects, ovals and rrects.
16 class NestedGM : public GM { 15 class NestedGM : public GM {
17 public: 16 public:
18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { 17 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) {
19 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); 18 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 }; 132 };
134 133
135 /////////////////////////////////////////////////////////////////////////////// 134 ///////////////////////////////////////////////////////////////////////////////
136 135
137 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); ) 136 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); )
138 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); ) 137 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); )
139 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); ) 138 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); )
140 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); ) 139 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
141 140
142 } 141 }
OLDNEW
« no previous file with comments | « gm/linepaths.cpp ('k') | gm/pathfill.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698