OLD | NEW |
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 "Resources.h" | 9 #include "Resources.h" |
| 10 #include "SkPath.h" |
10 #include "SkTypeface.h" | 11 #include "SkTypeface.h" |
11 | 12 |
12 class SkJSCanvas { | 13 class SkJSCanvas { |
13 public: | 14 public: |
14 SkJSCanvas(SkCanvas* target); | 15 SkJSCanvas(SkCanvas* target); |
15 ~SkJSCanvas(); | 16 ~SkJSCanvas(); |
16 | 17 |
17 void save(); | 18 void save(); |
18 void restore(); | 19 void restore(); |
19 | 20 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 } | 272 } |
272 | 273 |
273 private: | 274 private: |
274 typedef skiagm::GM INHERITED; | 275 typedef skiagm::GM INHERITED; |
275 SkAutoTUnref<SkTypeface> fEmFace; | 276 SkAutoTUnref<SkTypeface> fEmFace; |
276 }; | 277 }; |
277 | 278 |
278 ////////////////////////////////////////////////////////////////////////////// | 279 ////////////////////////////////////////////////////////////////////////////// |
279 | 280 |
280 DEF_GM( return new Poly2PolyGM; ) | 281 DEF_GM( return new Poly2PolyGM; ) |
OLD | NEW |