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