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

Side by Side Diff: gm/blurs.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/bitmaprecttest.cpp ('k') | gm/complexclip2.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 2011 Google Inc. 2 * Copyright 2011 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 "SkBlurMask.h" 9 #include "SkBlurMask.h"
10 #include "SkBlurMaskFilter.h" 10 #include "SkBlurMaskFilter.h"
11 #include "SkPath.h"
11 12
12 class BlursGM : public skiagm::GM { 13 class BlursGM : public skiagm::GM {
13 public: 14 public:
14 BlursGM() { 15 BlursGM() {
15 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); 16 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
16 } 17 }
17 18
18 protected: 19 protected:
19 20
20 SkString onShortName() override { 21 SkString onShortName() override {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 canvas->translate(dx, 0); 158 canvas->translate(dx, 0);
158 canvas->drawPath(path, paint); 159 canvas->drawPath(path, paint);
159 160
160 // Translate to outside of clip bounds. 161 // Translate to outside of clip bounds.
161 canvas->translate(-dx, 0); 162 canvas->translate(-dx, 0);
162 canvas->translate(-30, -150); 163 canvas->translate(-30, -150);
163 canvas->drawPath(path, paint); 164 canvas->drawPath(path, paint);
164 } 165 }
165 }; 166 };
166 DEF_GM( return new Blur2RectsNonNinePatchGM; ) 167 DEF_GM( return new Blur2RectsNonNinePatchGM; )
OLDNEW
« no previous file with comments | « gm/bitmaprecttest.cpp ('k') | gm/complexclip2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698