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

Unified Diff: include/ports/SkTypeface_win.h

Issue 217733002: Support user-configurable function to create IDWriteFactory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « no previous file | src/utils/win/SkDWrite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkTypeface_win.h
diff --git a/include/ports/SkTypeface_win.h b/include/ports/SkTypeface_win.h
index 77173e2cf7ca7853c49682b70ff9dbda58de7c32..bbef366ae703404f5b6e1493660e4b8d334929b1 100644
--- a/include/ports/SkTypeface_win.h
+++ b/include/ports/SkTypeface_win.h
@@ -33,6 +33,12 @@ SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
*/
SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
+/**
+ * Set an optional callback to allow the user to create the IDWriteFactory.
+ */
+struct IDWriteFactory;
+SK_API void SkSetDirectWriteFactoryProc(void (*)(IDWriteFactory**));
+
// Experimental!
//
class SkFontMgr;
« no previous file with comments | « no previous file | src/utils/win/SkDWrite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698