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 #ifndef SkGScalerContext_DEFINED | 8 #ifndef SkGScalerContext_DEFINED |
9 #define SkGScalerContext_DEFINED | 9 #define SkGScalerContext_DEFINED |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual int onCharsToGlyphs(const void* chars, Encoding encoding, | 32 virtual int onCharsToGlyphs(const void* chars, Encoding encoding, |
33 uint16_t glyphs[], int glyphCount) const SK_OVER
RIDE; | 33 uint16_t glyphs[], int glyphCount) const SK_OVER
RIDE; |
34 virtual int onCountGlyphs() const SK_OVERRIDE; | 34 virtual int onCountGlyphs() const SK_OVERRIDE; |
35 virtual int onGetUPEM() const SK_OVERRIDE; | 35 virtual int onGetUPEM() const SK_OVERRIDE; |
36 | 36 |
37 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_
OVERRIDE; | 37 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_
OVERRIDE; |
38 | 38 |
39 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; | 39 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; |
40 virtual size_t onGetTableData(SkFontTableTag, size_t offset, | 40 virtual size_t onGetTableData(SkFontTableTag, size_t offset, |
41 size_t length, void* data) const SK_OVERRIDE; | 41 size_t length, void* data) const SK_OVERRIDE; |
42 virtual SkTypeface* onRefMatchingStyle(Style) const SK_OVERRIDE; | |
43 | 42 |
44 private: | 43 private: |
45 SkTypeface* fProxy; | 44 SkTypeface* fProxy; |
46 SkPaint fPaint; | 45 SkPaint fPaint; |
47 }; | 46 }; |
48 | 47 |
49 #endif | 48 #endif |
OLD | NEW |