diff options
author | 2013-03-19 14:44:54 +0000 | |
---|---|---|
committer | 2013-03-19 14:44:54 +0000 | |
commit | 90808e87c21e93b8e670360655e0b0eb12cb2f87 (patch) | |
tree | 0219fa6397867b6bfd18120d733dad498e1a338a /include/core/SkTypeface.h | |
parent | 14687813ea0174dc165961ebca8df4153c3dde59 (diff) |
Add SkTypeface* parameter to SkScalerContext (and its callers)
Use SkTypeface to create scalercontext instead of SkFontHost
Review URL: https://codereview.chromium.org/12706010
git-svn-id: http://skia.googlecode.com/svn/trunk@8223 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTypeface.h')
-rw-r--r-- | include/core/SkTypeface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index a531cf2c84..45779dcf1a 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -194,6 +194,7 @@ public: int getUnitsPerEm() const; SkStream* openStream(int* ttcIndex) const; + SkScalerContext* createScalerContext(const SkDescriptor*) const; protected: /** uniqueID must be unique and non-zero @@ -218,6 +219,7 @@ private: bool fIsFixedWidth; friend class SkPaint; + friend class SkGlyphCache; // GetDefaultTypeface // just so deprecated fonthost can call protected methods friend class SkFontHost; |