Index: experimental/PdfViewer/SkPdfConfig.h |
=================================================================== |
--- experimental/PdfViewer/SkPdfConfig.h (revision 0) |
+++ experimental/PdfViewer/SkPdfConfig.h (revision 0) |
@@ -0,0 +1,19 @@ |
+#ifndef __DEFINED__SkPdfConfig |
+#define __DEFINED__SkPdfConfig |
+ |
+//#define PDF_TRACE |
+//#define PDF_TRACE_DIFF_IN_PNG |
+//#define PDF_DEBUG_NO_CLIPING |
+//#define PDF_DEBUG_NO_PAGE_CLIPING |
+//#define PDF_DEBUG_3X |
+ |
+// TODO(edisonn): move in trace util. |
+#ifdef PDF_TRACE |
+void SkTraceMatrix(const SkMatrix& matrix, const char* sz); |
+void SkTraceRect(const SkRect& rect, const char* sz); |
+#else |
+#define SkTraceMatrix(a,b) |
+#define SkTraceRect(a,b) |
+#endif |
+ |
+#endif // __DEFINED__SkPdfConfig |