OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006-2012 The Android Open Source Project | 2 * Copyright 2006-2012 The Android Open Source Project |
3 * Copyright 2012 Mozilla Foundation | 3 * Copyright 2012 Mozilla Foundation |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef SKFONTHOST_FREETYPE_COMMON_H_ | 9 #ifndef SKFONTHOST_FREETYPE_COMMON_H_ |
10 #define SKFONTHOST_FREETYPE_COMMON_H_ | 10 #define SKFONTHOST_FREETYPE_COMMON_H_ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE; | 57 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE; |
58 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( | 58 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( |
59 SkAdvancedTypefaceMetrics::PerGlyphInfo, | 59 SkAdvancedTypefaceMetrics::PerGlyphInfo, |
60 const uint32_t*, uint32_t) const SK_OVERRIDE; | 60 const uint32_t*, uint32_t) const SK_OVERRIDE; |
61 virtual int onGetUPEM() const SK_OVERRIDE; | 61 virtual int onGetUPEM() const SK_OVERRIDE; |
62 | 62 |
63 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[], | 63 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[], |
64 int glyphCount) const SK_OVERRIDE; | 64 int glyphCount) const SK_OVERRIDE; |
65 virtual int onCountGlyphs() const SK_OVERRIDE; | 65 virtual int onCountGlyphs() const SK_OVERRIDE; |
66 | 66 |
67 virtual LocalizedStrings* onGetFamilyNames() const SK_OVERRIDE; | 67 virtual LocalizedStrings* onCreateFamilyNameIterator() const SK_OVERRIDE; |
68 | 68 |
69 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; | 69 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; |
70 virtual size_t onGetTableData(SkFontTableTag, size_t offset, | 70 virtual size_t onGetTableData(SkFontTableTag, size_t offset, |
71 size_t length, void* data) const SK_OVERRIDE; | 71 size_t length, void* data) const SK_OVERRIDE; |
72 | 72 |
73 private: | 73 private: |
74 mutable int fGlyphCount; | 74 mutable int fGlyphCount; |
75 | 75 |
76 typedef SkTypeface INHERITED; | 76 typedef SkTypeface INHERITED; |
77 }; | 77 }; |
78 | 78 |
79 #endif // SKFONTHOST_FREETYPE_COMMON_H_ | 79 #endif // SKFONTHOST_FREETYPE_COMMON_H_ |
OLD | NEW |