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

Side by Side Diff: gm/fatpathfill.cpp

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/factory.cpp ('k') | gm/filltypes.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 2012 Google Inc. 2 * Copyright 2012 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 #include "SkPath.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 draw_pixel_centers(canvas); 51 draw_pixel_centers(canvas);
52 } 52 }
53 53
54 class FatPathFillGM : public skiagm::GM { 54 class FatPathFillGM : public skiagm::GM {
55 public: 55 public:
56 FatPathFillGM() {} 56 FatPathFillGM() {}
57 57
58 protected: 58 protected:
59 virtual uint32_t onGetFlags() const SK_OVERRIDE { 59 uint32_t onGetFlags() const SK_OVERRIDE {
60 return kSkipTiled_Flag; 60 return kSkipTiled_Flag;
61 } 61 }
62 62
63 virtual SkString onShortName() { 63 virtual SkString onShortName() {
64 return SkString("fatpathfill"); 64 return SkString("fatpathfill");
65 } 65 }
66 66
67 virtual SkISize onISize() { 67 virtual SkISize onISize() {
68 return SkISize::Make(SMALL_W * ZOOM, SMALL_H * ZOOM * REPEAT_LOOP); 68 return SkISize::Make(SMALL_W * ZOOM, SMALL_H * ZOOM * REPEAT_LOOP);
69 } 69 }
(...skipping 18 matching lines...) Expand all
88 } 88 }
89 } 89 }
90 90
91 private: 91 private:
92 typedef skiagm::GM INHERITED; 92 typedef skiagm::GM INHERITED;
93 }; 93 };
94 94
95 /////////////////////////////////////////////////////////////////////////////// 95 ///////////////////////////////////////////////////////////////////////////////
96 96
97 DEF_GM(return new FatPathFillGM;) 97 DEF_GM(return new FatPathFillGM;)
OLDNEW
« no previous file with comments | « gm/factory.cpp ('k') | gm/filltypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698