Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 16f7c144eba5f43b7c0ba249244501349848155e..78704a0f79ee3673103d26e3e449db9b3d5878e4 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -128,6 +128,16 @@ public: |
const char* fileExtension() const SK_OVERRIDE { return "skp"; } |
}; |
+class SVGSink : public Sink { |
+public: |
+ SVGSink(); |
+ |
+ Error draw(const Src&, SkBitmap*, SkWStream*) const SK_OVERRIDE; |
+ int enclave() const SK_OVERRIDE { return kAnyThread_Enclave; } |
+ const char* fileExtension() const SK_OVERRIDE { return "svg"; } |
+}; |
+ |
+ |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
class ViaMatrix : public Sink { |