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

Unified Diff: include/core/SkTypeface.h

Issue 14890016: start a wrapper for color fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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
Index: include/core/SkTypeface.h
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
index c91fa428faa1a08a8a35e87040243dd20e1aaf14..070a00fb787693ebd8915becafd0100d6685364c 100644
--- a/include/core/SkTypeface.h
+++ b/include/core/SkTypeface.h
@@ -203,6 +203,14 @@ public:
SkStream* openStream(int* ttcIndex) const;
SkScalerContext* createScalerContext(const SkDescriptor*) const;
+ // for proxy
+ void filterRec(SkScalerContextRec* rec) const {
bungeman-skia 2013/05/29 21:21:14 Do these two want to be public? I shudder at expos
reed1 2013/05/30 16:04:29 I don't know how else to allow one typeface to cal
+ this->onFilterRec(rec);
+ }
+ void getFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const {
+ this->onGetFontDescriptor(desc, isLocal);
+ }
+
protected:
/** uniqueID must be unique and non-zero
*/

Powered by Google App Engine
This is Rietveld 408576698