diff options
author | 2011-05-31 18:18:21 +0000 | |
---|---|---|
committer | 2011-05-31 18:18:21 +0000 | |
commit | d897bfb76f7e19c6fa9bd015a7bbd28a9161f5e5 (patch) | |
tree | 7b6ca6ffd6fe4fc2fe5f869a007af66afe6e5b36 /include/pdf/SkPDFDocument.h | |
parent | f33d1537326af59b7948d2fa92db0b0190f0d99d (diff) |
[PDF] Add pages accessor to SkPDFDocument.
Also add SK_API to SkPDFPage::getFontResources.
Review URL: http://codereview.appspot.com/4561050
git-svn-id: http://skia.googlecode.com/svn/trunk@1453 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFDocument.h')
-rw-r--r-- | include/pdf/SkPDFDocument.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pdf/SkPDFDocument.h b/include/pdf/SkPDFDocument.h index 0bc9a3c573..0a76ea26aa 100644 --- a/include/pdf/SkPDFDocument.h +++ b/include/pdf/SkPDFDocument.h @@ -49,6 +49,10 @@ public: */ SK_API bool appendPage(const SkRefPtr<SkPDFDevice>& pdfDevice); + /** Get the list of pages in this document. + */ + SK_API const SkTDArray<SkPDFPage*>& getPages(); + private: SkPDFCatalog fCatalog; int64_t fXRefFileOffset; |