OLD | NEW |
1 #ifndef __DEFINED__SkPdfUtils | 1 /* |
2 #define __DEFINED__SkPdfUtils | 2 * Copyright 2013 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfUtils_DEFINED |
| 9 #define SkPdfUtils_DEFINED |
3 | 10 |
4 #include "SkMatrix.h" | 11 #include "SkMatrix.h" |
5 #include "SkRect.h" | 12 #include "SkRect.h" |
6 #include "SkPdfConfig.h" | 13 #include "SkPdfConfig.h" |
7 #include "SkString.h" | 14 #include "SkString.h" |
8 | 15 |
9 class SkPdfArray; | 16 class SkPdfArray; |
10 class SkPdfContext; | 17 class SkPdfContext; |
11 class SkCanvas; | 18 class SkCanvas; |
12 class SkPdfNativeObject; | 19 class SkPdfNativeObject; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // TRACE functions | 63 // TRACE functions |
57 // | 64 // |
58 #ifdef PDF_TRACE | 65 #ifdef PDF_TRACE |
59 void SkTraceMatrix(const SkMatrix& matrix, const char* sz); | 66 void SkTraceMatrix(const SkMatrix& matrix, const char* sz); |
60 void SkTraceRect(const SkRect& rect, const char* sz); | 67 void SkTraceRect(const SkRect& rect, const char* sz); |
61 #else | 68 #else |
62 #define SkTraceMatrix(a,b) | 69 #define SkTraceMatrix(a,b) |
63 #define SkTraceRect(a,b) | 70 #define SkTraceRect(a,b) |
64 #endif | 71 #endif |
65 | 72 |
66 #endif // __DEFINED__SkPdfUtils | 73 #endif // SkPdfUtils_DEFINED |
OLD | NEW |