Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Side by Side Diff: src/ports/SkTypeface_win_dw.h

Issue 574873002: Add onGetFamilyName to SkTypeface. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add .get() for DirectWrite. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ports/SkFontMgr_fontconfig.cpp ('k') | src/ports/SkTypeface_win_dw.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 SkTypeface_win_dw_DEFINED 8 #ifndef SkTypeface_win_dw_DEFINED
9 #define SkTypeface_win_dw_DEFINED 9 #define SkTypeface_win_dw_DEFINED
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const SK _OVERRIDE; 104 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const SK _OVERRIDE;
105 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE; 105 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE;
106 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 106 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
107 SkAdvancedTypefaceMetrics::PerGlyphInfo, 107 SkAdvancedTypefaceMetrics::PerGlyphInfo,
108 const uint32_t*, uint32_t) const SK_OVERRIDE; 108 const uint32_t*, uint32_t) const SK_OVERRIDE;
109 virtual void onGetFontDescriptor(SkFontDescriptor*, bool*) const SK_OVERRIDE ; 109 virtual void onGetFontDescriptor(SkFontDescriptor*, bool*) const SK_OVERRIDE ;
110 virtual int onCharsToGlyphs(const void* chars, Encoding encoding, 110 virtual int onCharsToGlyphs(const void* chars, Encoding encoding,
111 uint16_t glyphs[], int glyphCount) const SK_OVER RIDE; 111 uint16_t glyphs[], int glyphCount) const SK_OVER RIDE;
112 virtual int onCountGlyphs() const SK_OVERRIDE; 112 virtual int onCountGlyphs() const SK_OVERRIDE;
113 virtual int onGetUPEM() const SK_OVERRIDE; 113 virtual int onGetUPEM() const SK_OVERRIDE;
114 virtual void onGetFamilyName(SkString* familyName) const SK_OVERRIDE;
114 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_ OVERRIDE; 115 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_ OVERRIDE;
115 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; 116 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE;
116 virtual size_t onGetTableData(SkFontTableTag, size_t offset, 117 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
117 size_t length, void* data) const SK_OVERRIDE; 118 size_t length, void* data) const SK_OVERRIDE;
118 119
119 private: 120 private:
120 typedef SkTypeface INHERITED; 121 typedef SkTypeface INHERITED;
121 }; 122 };
122 123
123 #endif 124 #endif
OLDNEW
« no previous file with comments | « src/ports/SkFontMgr_fontconfig.cpp ('k') | src/ports/SkTypeface_win_dw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698