diff options
author | 2013-03-20 20:01:47 +0000 | |
---|---|---|
committer | 2013-03-20 20:01:47 +0000 | |
commit | 2689f615e364dc48ad73826564f5b13d2329179d (patch) | |
tree | d3bd8573251e8e0c25bf6107bf873451e0695434 /include/core/SkTypeface.h | |
parent | 8366df025a5c3eb562c6bff1ddf63213fbf3f7d6 (diff) |
move impl of AdvancedTypefaceMetrics into typeface (3)
Review URL: https://codereview.chromium.org/12807004
git-svn-id: http://skia.googlecode.com/svn/trunk@8274 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTypeface.h')
-rw-r--r-- | include/core/SkTypeface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index 50a724a8e9..2dd54b6b2c 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -208,6 +208,11 @@ protected: virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0; virtual void onFilterRec(SkScalerContextRec*) const = 0; + virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( + SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, + const uint32_t* glyphIDs, + uint32_t glyphIDsCount) const = 0; + virtual int onGetUPEM() const; virtual int onGetTableTags(SkFontTableTag tags[]) const; virtual size_t onGetTableData(SkFontTableTag, size_t offset, |