| 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 17 matching lines...) Expand all Loading... |
| 28 uint32_t glyphIDsCount) const SK_OVERRIDE; | 28 uint32_t glyphIDsCount) const SK_OVERRIDE; |
| 29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE; | 29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE; |
| 30 virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const SK_
OVERRIDE; | 30 virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const SK_
OVERRIDE; |
| 31 | 31 |
| 32 virtual int onCountGlyphs() const SK_OVERRIDE; | 32 virtual int onCountGlyphs() const SK_OVERRIDE; |
| 33 virtual int onGetUPEM() const SK_OVERRIDE; | 33 virtual int onGetUPEM() const SK_OVERRIDE; |
| 34 | 34 |
| 35 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; | 35 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; |
| 36 virtual size_t onGetTableData(SkFontTableTag, size_t offset, | 36 virtual size_t onGetTableData(SkFontTableTag, size_t offset, |
| 37 size_t length, void* data) const SK_OVERRIDE; | 37 size_t length, void* data) const SK_OVERRIDE; |
| 38 virtual SkTypeface* onRefMatchingStyle(Style) const SK_OVERRIDE; |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 SkTypeface* fProxy; | 41 SkTypeface* fProxy; |
| 41 SkPaint fPaint; | 42 SkPaint fPaint; |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 #endif | 45 #endif |
| OLD | NEW |