summaryrefslogtreecommitdiff
path: root/pdf/mupdf.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-12 01:12:28 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-12 01:12:28 +0100
commit9994b3f49db7bd925a7ae7874cbc99025469ee9e (patch)
treec718919738e0c70cc94959aad1b5b4997f11389f /pdf/mupdf.h
parent09086b236af6e49f2f090f80a450b1d82f217f30 (diff)
downloadmupdf-9994b3f49db7bd925a7ae7874cbc99025469ee9e.tar.xz
Use the same coordinate system for pdf and xps pages in the interface.
Move coordinate space tweaks into pdf_ and xps_run_page, and provide neutral pdf_ and xps_bound_page functions to return the page size as a zero-origined bounding box.
Diffstat (limited to 'pdf/mupdf.h')
-rw-r--r--pdf/mupdf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/mupdf.h b/pdf/mupdf.h
index d9a6b7c6..1ec9d4f2 100644
--- a/pdf/mupdf.h
+++ b/pdf/mupdf.h
@@ -455,6 +455,7 @@ int pdf_find_page_number(pdf_xref *xref, fz_obj *pageobj);
int pdf_count_pages(pdf_xref *xref);
pdf_page *pdf_load_page(pdf_xref *xref, int number);
+fz_rect pdf_bound_page(pdf_xref *xref, pdf_page *page);
void pdf_free_page(fz_context *ctx, pdf_page *page);
/*