Index: experimental/tools/PageCachingDocument.h |
diff --git a/experimental/tools/PageCachingDocument.h b/experimental/tools/PageCachingDocument.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..19be1ae6197cad23b1a23c5a8fd805b8e733b146 |
--- /dev/null |
+++ b/experimental/tools/PageCachingDocument.h |
@@ -0,0 +1,22 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+#ifndef PageCachingDocument_DEFINED |
+#define PageCachingDocument_DEFINED |
+ |
+#include "SkScalar.h" |
+ |
+class SkBitmap; |
+class SkData; |
+class SkDocument; |
+class SkWStream; |
+ |
+SkDocument* CreatePageCachingDocument( |
+ SkWStream* stream, |
+ void (*done)(SkWStream*, bool) = NULL, |
+ SkData* (*encoder)(size_t*, const SkBitmap&) = NULL, |
+ SkScalar rasterDpi = 72.0); |
+#endif // PageCachingDocument_DEFINED |