OLD | NEW |
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 #include "gm.h" | 7 #include "gm.h" |
8 #include "SkBitmapDevice.h" | |
9 #include "SkTypeface.h" | 8 #include "SkTypeface.h" |
10 | 9 |
11 namespace skiagm { | 10 namespace skiagm { |
12 | 11 |
13 class DevicePropertiesGM : public GM { | 12 class DevicePropertiesGM : public GM { |
14 public: | 13 public: |
15 DevicePropertiesGM() { | 14 DevicePropertiesGM() { |
16 this->setBGColor(0xFFFFFFFF); | 15 this->setBGColor(0xFFFFFFFF); |
17 } | 16 } |
18 | 17 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 private: | 103 private: |
105 typedef GM INHERITED; | 104 typedef GM INHERITED; |
106 }; | 105 }; |
107 | 106 |
108 ////////////////////////////////////////////////////////////////////////////// | 107 ////////////////////////////////////////////////////////////////////////////// |
109 | 108 |
110 static GM* MyFactory(void*) { return new DevicePropertiesGM; } | 109 static GM* MyFactory(void*) { return new DevicePropertiesGM; } |
111 static GMRegistry reg(MyFactory); | 110 static GMRegistry reg(MyFactory); |
112 | 111 |
113 } | 112 } |
OLD | NEW |