| OLD | NEW |
| 1 |
| 1 /* | 2 /* |
| 2 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 3 * | 4 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 6 */ | 7 */ |
| 7 | |
| 8 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkPath.h" | |
| 10 | 9 |
| 11 namespace skiagm { | 10 namespace skiagm { |
| 12 | 11 |
| 13 class FillTypeGM : public GM { | 12 class FillTypeGM : public GM { |
| 14 SkPath fPath; | 13 SkPath fPath; |
| 15 public: | 14 public: |
| 16 FillTypeGM() { | 15 FillTypeGM() { |
| 17 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); | 16 this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
| 18 } | 17 } |
| 19 | 18 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 private: | 86 private: |
| 88 typedef GM INHERITED; | 87 typedef GM INHERITED; |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 ////////////////////////////////////////////////////////////////////////////// | 90 ////////////////////////////////////////////////////////////////////////////// |
| 92 | 91 |
| 93 static GM* MyFactory(void*) { return new FillTypeGM; } | 92 static GM* MyFactory(void*) { return new FillTypeGM; } |
| 94 static GMRegistry reg(MyFactory); | 93 static GMRegistry reg(MyFactory); |
| 95 | 94 |
| 96 } | 95 } |
| OLD | NEW |