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

Unified Diff: include/pdf/SkPDFCallbacks.h

Issue 24615006: rebaseline drawbitmap gms (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: remove expectation included by mistake in another cl Created 7 years, 3 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
Index: include/pdf/SkPDFCallbacks.h
diff --git a/include/pdf/SkPDFCallbacks.h b/include/pdf/SkPDFCallbacks.h
new file mode 100644
index 0000000000000000000000000000000000000000..c804b7174ef7dc3e0736b2b12fcc5e1baf26e226
--- /dev/null
+++ b/include/pdf/SkPDFCallbacks.h
@@ -0,0 +1,21 @@
+
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+
+#ifndef SkPDFCallbacks_DEFINED
+#define SkPDFCallbacks_DEFINED
+
+class SkBitmap;
+class SkIRect;
+class SkWStream;
+
+typedef bool (*EncodeToDCTStream)(SkWStream* stream, const SkBitmap& bitmap, const SkIRect& rect);
+// TODO(edisonn): add here the ones about font, shadow render preferences,
+// how to export unsupported features, ...
+
+#endif // SkPDFCallbacks_DEFINED

Powered by Google App Engine
This is Rietveld 408576698