diff options
author | 2013-03-06 00:05:13 +0000 | |
---|---|---|
committer | 2013-03-06 00:05:13 +0000 | |
commit | 1cad898916c9e4a21429b5325c834a51fa6f361e (patch) | |
tree | 721346bc48447def4cf0601331f3209fa586e3be /src/pdf/SkPDFPage.h | |
parent | ee38c08b0769fbe06887b50469dc97b8ebc6d868 (diff) |
PDF: add support for named destinations
Imported from https://codereview.appspot.com/7374052/ on behalf of dml@google.com
Review URL: https://codereview.chromium.org/12466008
git-svn-id: http://skia.googlecode.com/svn/trunk@8000 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pdf/SkPDFPage.h')
-rw-r--r-- | src/pdf/SkPDFPage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pdf/SkPDFPage.h b/src/pdf/SkPDFPage.h index 72ba335e66..285a2f565e 100644 --- a/src/pdf/SkPDFPage.h +++ b/src/pdf/SkPDFPage.h @@ -48,6 +48,11 @@ public: void finalizePage(SkPDFCatalog* catalog, bool firstPage, SkTDArray<SkPDFObject*>* resourceObjects); + /** Add destinations for this page to the supplied dictionary. + * @param dict Dictionary to add destinations to. + */ + void appendDestinations(SkPDFDict* dict); + /** Determine the size of the page content and store to the catalog * the offsets of all nonresource-indirect objects that make up the page * content. This must be called before emitPage(), but after finalizePage. |