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.cpp | |
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.cpp')
-rw-r--r-- | src/pdf/SkPDFPage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pdf/SkPDFPage.cpp b/src/pdf/SkPDFPage.cpp index f47f8ffd46..4cdc00003b 100644 --- a/src/pdf/SkPDFPage.cpp +++ b/src/pdf/SkPDFPage.cpp @@ -147,3 +147,7 @@ const SkTDArray<SkPDFFont*>& SkPDFPage::getFontResources() const { const SkPDFGlyphSetMap& SkPDFPage::getFontGlyphUsage() const { return fDevice->getFontGlyphUsage(); } + +void SkPDFPage::appendDestinations(SkPDFDict* dict) { + fDevice->appendDestinations(dict, this); +} |