OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 The Android Open Source Project | 2 * Copyright 2010 The Android Open Source Project |
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 | 7 |
8 | 8 |
9 #ifndef SkPDFTypes_DEFINED | 9 #ifndef SkPDFTypes_DEFINED |
10 #define SkPDFTypes_DEFINED | 10 #define SkPDFTypes_DEFINED |
11 | 11 |
12 #include "SkRefCnt.h" | 12 #include "SkRefCnt.h" |
13 #include "SkScalar.h" | 13 #include "SkScalar.h" |
14 #include "SkStream.h" | |
15 #include "SkString.h" | |
16 #include "SkTDArray.h" | |
17 #include "SkTHash.h" | 14 #include "SkTHash.h" |
18 #include "SkTypes.h" | 15 #include "SkTypes.h" |
19 | 16 |
20 class SkPDFObjNumMap; | 17 class SkPDFObjNumMap; |
21 class SkPDFObject; | 18 class SkPDFObject; |
22 class SkPDFSubstituteMap; | 19 class SkPDFSubstituteMap; |
| 20 class SkStreamAsset; |
| 21 class SkString; |
| 22 class SkWStream; |
23 | 23 |
24 #ifdef SK_PDF_IMAGE_STATS | 24 #ifdef SK_PDF_IMAGE_STATS |
25 #include "SkAtomics.h" | 25 #include "SkAtomics.h" |
26 #endif | 26 #endif |
27 | 27 |
28 /** \class SkPDFObject | 28 /** \class SkPDFObject |
29 | 29 |
30 A PDF Object is the base class for primitive elements in a PDF file. A | 30 A PDF Object is the base class for primitive elements in a PDF file. A |
31 common subtype is used to ease the use of indirect object references, | 31 common subtype is used to ease the use of indirect object references, |
32 which are common in the PDF format. | 32 which are common in the PDF format. |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 }; | 383 }; |
384 | 384 |
385 #ifdef SK_PDF_IMAGE_STATS | 385 #ifdef SK_PDF_IMAGE_STATS |
386 extern SkAtomic<int> gDrawImageCalls; | 386 extern SkAtomic<int> gDrawImageCalls; |
387 extern SkAtomic<int> gJpegImageObjects; | 387 extern SkAtomic<int> gJpegImageObjects; |
388 extern SkAtomic<int> gRegularImageObjects; | 388 extern SkAtomic<int> gRegularImageObjects; |
389 extern void SkPDFImageDumpStats(); | 389 extern void SkPDFImageDumpStats(); |
390 #endif // SK_PDF_IMAGE_STATS | 390 #endif // SK_PDF_IMAGE_STATS |
391 | 391 |
392 #endif | 392 #endif |
OLD | NEW |