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

Unified Diff: trunk/include/core/SkTypeface.h

Issue 12706010: Add SkTypeface* parameter to SkScalerContext (and its callers) (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/include/core/SkPaint.h ('k') | trunk/src/core/SkGlyphCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/include/core/SkTypeface.h
===================================================================
--- trunk/include/core/SkTypeface.h (revision 8215)
+++ trunk/include/core/SkTypeface.h (working copy)
@@ -194,6 +194,7 @@
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 @@
bool fIsFixedWidth;
friend class SkPaint;
+ friend class SkGlyphCache; // GetDefaultTypeface
// just so deprecated fonthost can call protected methods
friend class SkFontHost;
« no previous file with comments | « trunk/include/core/SkPaint.h ('k') | trunk/src/core/SkGlyphCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698