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

Unified Diff: dm/DMSrcSink.h

Issue 963953002: XPS, DM: add SkDocument::CreateXPS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix conics Created 5 years, 10 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 | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | include/core/SkDocument.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index 8cd92a6c12318e0283862b7f6bbd5fa2b5c8326c..f371cb458541359cb0914760b9db86dc7d9f9876 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -119,6 +119,17 @@ public:
const char* fileExtension() const SK_OVERRIDE { return "pdf"; }
};
+#ifdef SK_SUPPORT_XPS
+class XPSSink : public Sink {
+public:
+ XPSSink();
+
+ Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const SK_OVERRIDE;
+ int enclave() const SK_OVERRIDE { return kAnyThread_Enclave; }
+ const char* fileExtension() const SK_OVERRIDE { return "xps"; }
+};
+#endif // SK_SUPPORT_XPS
+
class RasterSink : public Sink {
public:
explicit RasterSink(SkColorType);
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | include/core/SkDocument.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698