OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 9 |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 return builder.build(); | 180 return builder.build(); |
181 } | 181 } |
182 | 182 |
183 SkTDArray<uint16_t> fGlyphs; | 183 SkTDArray<uint16_t> fGlyphs; |
184 SkAutoTUnref<SkTypeface> fTypeface; | 184 SkAutoTUnref<SkTypeface> fTypeface; |
185 const char* fText; | 185 const char* fText; |
186 typedef skiagm::GM INHERITED; | 186 typedef skiagm::GM INHERITED; |
187 }; | 187 }; |
188 | 188 |
189 DEF_GM( return SkNEW_ARGS(TextBlobGM, ("hamburgefons")); ) | 189 DEF_GM(return new TextBlobGM("hamburgefons");) |
OLD | NEW |