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 | 7 |
8 #include "gm.h" | 8 #include "gm.h" |
9 | 9 |
10 #include "Resources.h" | 10 #include "Resources.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 } | 148 } |
149 } | 149 } |
150 } | 150 } |
151 | 151 |
152 private: | 152 private: |
153 sk_sp<SkTypeface> fEmojiTypeface; | 153 sk_sp<SkTypeface> fEmojiTypeface; |
154 sk_sp<SkTypeface> fReallyBigATypeface; | 154 sk_sp<SkTypeface> fReallyBigATypeface; |
155 const char* fEmojiText; | 155 const char* fEmojiText; |
156 SkAutoTUnref<const SkTextBlob> fBlob; | 156 SkAutoTUnref<const SkTextBlob> fBlob; |
157 | 157 |
158 static const int kWidth = 1250; | 158 static constexpr int kWidth = 1250; |
159 static const int kHeight = 700; | 159 static constexpr int kHeight = 700; |
160 | 160 |
161 typedef GM INHERITED; | 161 typedef GM INHERITED; |
162 }; | 162 }; |
163 | 163 |
164 ////////////////////////////////////////////////////////////////////////////// | 164 ////////////////////////////////////////////////////////////////////////////// |
165 | 165 |
166 DEF_GM(return new MixedTextBlobsGM;) | 166 DEF_GM(return new MixedTextBlobsGM;) |
167 } | 167 } |
OLD | NEW |