OLD | NEW |
1 #ifndef __DEFINED__SkPdfUtils | 1 #ifndef __DEFINED__SkPdfUtils |
2 #define __DEFINED__SkPdfUtils | 2 #define __DEFINED__SkPdfUtils |
3 | 3 |
4 #include "SkMatrix.h" | 4 #include "SkMatrix.h" |
5 #include "SkRect.h" | 5 #include "SkRect.h" |
| 6 #include "SkPdfConfig.h" |
6 | 7 |
7 class SkPdfArray; | 8 class SkPdfArray; |
8 class SkPdfContext; | 9 class SkPdfContext; |
9 class SkCanvas; | 10 class SkCanvas; |
10 class SkPdfNativeObject; | 11 class SkPdfNativeObject; |
11 | 12 |
12 // TODO(edisonn): temporary code, to report how much of the PDF we actually thin
k we rendered. | 13 // TODO(edisonn): temporary code, to report how much of the PDF we actually thin
k we rendered. |
13 enum SkPdfResult { | 14 enum SkPdfResult { |
14 kOK_SkPdfResult, | 15 kOK_SkPdfResult, |
15 kPartial_SkPdfResult, | 16 kPartial_SkPdfResult, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // | 52 // |
52 #ifdef PDF_TRACE | 53 #ifdef PDF_TRACE |
53 void SkTraceMatrix(const SkMatrix& matrix, const char* sz); | 54 void SkTraceMatrix(const SkMatrix& matrix, const char* sz); |
54 void SkTraceRect(const SkRect& rect, const char* sz); | 55 void SkTraceRect(const SkRect& rect, const char* sz); |
55 #else | 56 #else |
56 #define SkTraceMatrix(a,b) | 57 #define SkTraceMatrix(a,b) |
57 #define SkTraceRect(a,b) | 58 #define SkTraceRect(a,b) |
58 #endif | 59 #endif |
59 | 60 |
60 #endif // __DEFINED__SkPdfUtils | 61 #endif // __DEFINED__SkPdfUtils |
OLD | NEW |