diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 21:04:09 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:56:45 +0100 |
commit | ff162fe493a331151edf11e3b2cf4da62f79b811 (patch) | |
tree | 54c3b3b3c2930b54656d045fe39e8dffe677950a /include | |
parent | 6252873329e14ab1b0460bf2a6cecc9eb3044aa1 (diff) | |
download | mupdf-ff162fe493a331151edf11e3b2cf4da62f79b811.tar.xz |
Pass mediabox to pdf_create_page by const pointer, and pass resources.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/pdf/document.h b/include/mupdf/pdf/document.h index 8e8df1b3..e8d0f07e 100644 --- a/include/mupdf/pdf/document.h +++ b/include/mupdf/pdf/document.h @@ -269,7 +269,7 @@ struct pdf_document_s */ pdf_document *pdf_create_document(fz_context *ctx); -pdf_page *pdf_create_page(fz_context *ctx, pdf_document *doc, fz_rect rect, int rotate, fz_buffer *contents); +pdf_page *pdf_create_page(fz_context *ctx, pdf_document *doc, const fz_rect *mediabox, int rotate, fz_buffer *contents, pdf_obj *resources); void pdf_insert_page(fz_context *ctx, pdf_document *doc, pdf_page *page, int at); |