| 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 "SkGScalerContext.h" | 8 #include "SkGScalerContext.h" |
| 9 #include "SkGlyph.h" | 9 #include "SkGlyph.h" |
| 10 #include "SkPath.h" | 10 #include "SkPath.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 } | 199 } |
| 200 | 200 |
| 201 int SkGTypeface::onCountGlyphs() const { | 201 int SkGTypeface::onCountGlyphs() const { |
| 202 return fProxy->countGlyphs(); | 202 return fProxy->countGlyphs(); |
| 203 } | 203 } |
| 204 | 204 |
| 205 int SkGTypeface::onGetUPEM() const { | 205 int SkGTypeface::onGetUPEM() const { |
| 206 return fProxy->getUnitsPerEm(); | 206 return fProxy->getUnitsPerEm(); |
| 207 } | 207 } |
| 208 | 208 |
| 209 void SkGTypeface::onGetFamilyName(SkString* familyName) const { |
| 210 fProxy->getFamilyName(familyName); |
| 211 } |
| 212 |
| 209 SkTypeface::LocalizedStrings* SkGTypeface::onCreateFamilyNameIterator() const { | 213 SkTypeface::LocalizedStrings* SkGTypeface::onCreateFamilyNameIterator() const { |
| 210 return fProxy->createFamilyNameIterator(); | 214 return fProxy->createFamilyNameIterator(); |
| 211 } | 215 } |
| 212 | 216 |
| 213 int SkGTypeface::onGetTableTags(SkFontTableTag tags[]) const { | 217 int SkGTypeface::onGetTableTags(SkFontTableTag tags[]) const { |
| 214 return fProxy->getTableTags(tags); | 218 return fProxy->getTableTags(tags); |
| 215 } | 219 } |
| 216 | 220 |
| 217 size_t SkGTypeface::onGetTableData(SkFontTableTag tag, size_t offset, | 221 size_t SkGTypeface::onGetTableData(SkFontTableTag tag, size_t offset, |
| 218 size_t length, void* data) const { | 222 size_t length, void* data) const { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 257 |
| 254 friend class SkGFontBuilder; | 258 friend class SkGFontBuilder; |
| 255 SkGFont(int count, Glyph* array); | 259 SkGFont(int count, Glyph* array); |
| 256 }; | 260 }; |
| 257 | 261 |
| 258 class SkGFontBuilder { | 262 class SkGFontBuilder { |
| 259 public: | 263 public: |
| 260 | 264 |
| 261 }; | 265 }; |
| 262 #endif | 266 #endif |
| OLD | NEW |