Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: include/pdf/SkPDFDocument.h

Issue 15855006: prepare skia for shared library build on android (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFDocument_DEFINED 10 #ifndef SkPDFDocument_DEFINED
11 #define SkPDFDocument_DEFINED 11 #define SkPDFDocument_DEFINED
12 12
13 #include "SkAdvancedTypefaceMetrics.h" 13 #include "SkAdvancedTypefaceMetrics.h"
14 #include "SkRefCnt.h" 14 #include "SkRefCnt.h"
15 #include "SkTDArray.h" 15 #include "SkTDArray.h"
16 #include "SkTScopedPtr.h" 16 #include "SkTScopedPtr.h"
17 17
18 class SkPDFCatalog; 18 class SkPDFCatalog;
19 class SkPDFDevice; 19 class SkPDFDevice;
20 class SkPDFDict; 20 class SkPDFDict;
21 class SkPDFPage; 21 class SkPDFPage;
22 class SkPDFObject; 22 class SkPDFObject;
23 class SkWStream; 23 class SkWStream;
24
25 #ifndef SkTSet_DEFINED
24 template <typename T> class SK_API SkTSet; 26 template <typename T> class SK_API SkTSet;
27 #endif
25 28
26 /** \class SkPDFDocument 29 /** \class SkPDFDocument
27 30
28 A SkPDFDocument assembles pages together and generates the final PDF file. 31 A SkPDFDocument assembles pages together and generates the final PDF file.
29 */ 32 */
30 class SkPDFDocument { 33 class SkPDFDocument {
31 public: 34 public:
32 enum Flags { 35 enum Flags {
33 kNoCompression_Flags = 0x01, //!< DEPRECATED. 36 kNoCompression_Flags = 0x01, //!< DEPRECATED.
34 kFavorSpeedOverSize_Flags = 0x01, //!< Don't compress the stream, but 37 kFavorSpeedOverSize_Flags = 0x01, //!< Don't compress the stream, but
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 size_t headerSize(); 99 size_t headerSize();
97 100
98 /** Output the PDF footer to the passed stream. 101 /** Output the PDF footer to the passed stream.
99 * @param stream The writable output stream to send the footer to. 102 * @param stream The writable output stream to send the footer to.
100 * @param objCount The number of objects in the PDF. 103 * @param objCount The number of objects in the PDF.
101 */ 104 */
102 void emitFooter(SkWStream* stream, int64_t objCount); 105 void emitFooter(SkWStream* stream, int64_t objCount);
103 }; 106 };
104 107
105 #endif 108 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698