summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-page.c')
-rw-r--r--source/pdf/pdf-page.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/pdf/pdf-page.c b/source/pdf/pdf-page.c
index 0a7f968e..1830409a 100644
--- a/source/pdf/pdf-page.c
+++ b/source/pdf/pdf-page.c
@@ -562,6 +562,12 @@ pdf_page_contents(fz_context *ctx, pdf_page *page)
return pdf_dict_get(ctx, page->obj, PDF_NAME_Contents);
}
+pdf_obj *
+pdf_page_group(fz_context *ctx, pdf_page *page)
+{
+ return pdf_dict_get(ctx, page->obj, PDF_NAME_Group);
+}
+
void
pdf_page_obj_transform(fz_context *ctx, pdf_obj *pageobj, fz_rect *page_mediabox, fz_matrix *page_ctm)
{