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

Unified Diff: experimental/tools/PageCachingDocument.h

Issue 769423002: work in progress (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 | experimental/tools/PageCachingDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | experimental/tools/PageCachingDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698