OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #ifndef SkPDFDocument_DEFINED | 7 #ifndef SkPDFDocument_DEFINED |
8 #define SkPDFDocument_DEFINED | 8 #define SkPDFDocument_DEFINED |
9 | 9 |
10 #include "SkDocument.h" | 10 #include "SkDocument.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 SkPDFCanon* canon() { return &fCanon; } | 72 SkPDFCanon* canon() { return &fCanon; } |
73 | 73 |
74 private: | 74 private: |
75 SkPDFObjectSerializer fObjectSerializer; | 75 SkPDFObjectSerializer fObjectSerializer; |
76 SkPDFCanon fCanon; | 76 SkPDFCanon fCanon; |
77 SkPDFGlyphSetMap fGlyphUsage; | 77 SkPDFGlyphSetMap fGlyphUsage; |
78 SkTArray<sk_sp<SkPDFDict>> fPages; | 78 SkTArray<sk_sp<SkPDFDict>> fPages; |
79 sk_sp<SkPDFDict> fDests; | 79 sk_sp<SkPDFDict> fDests; |
80 sk_sp<SkPDFDevice> fPageDevice; | 80 sk_sp<SkPDFDevice> fPageDevice; |
81 sk_sp<SkCanvas> fCanvas; | 81 sk_sp<SkCanvas> fCanvas; |
| 82 #ifdef SK_PDF_GENERATE_PDFA |
| 83 sk_sp<SkPDFObject> fID; |
| 84 sk_sp<SkPDFObject> fXMP; |
| 85 #endif |
82 SkScalar fRasterDpi; | 86 SkScalar fRasterDpi; |
83 SkPDFMetadata fMetadata; | 87 SkPDFMetadata fMetadata; |
84 }; | 88 }; |
85 | 89 |
86 #endif // SkPDFDocument_DEFINED | 90 #endif // SkPDFDocument_DEFINED |
OLD | NEW |