diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-06-29 16:46:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-07-05 15:32:34 +0200 |
commit | ea7403b4c172338dfe7f371302f82859921e60af (patch) | |
tree | 4a3fbf8ea35cb53fcbf395f096cf61ffda7b40be /include/mupdf/fitz/util.h | |
parent | 4a99615a609eec2b84bb2341d74fac46a5998137 (diff) | |
download | mupdf-ea7403b4c172338dfe7f371302f82859921e60af.tar.xz |
Pass matrices by value: device and document interface.
Diffstat (limited to 'include/mupdf/fitz/util.h')
-rw-r--r-- | include/mupdf/fitz/util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mupdf/fitz/util.h b/include/mupdf/fitz/util.h index 05119fd5..1335cf86 100644 --- a/include/mupdf/fitz/util.h +++ b/include/mupdf/fitz/util.h @@ -20,20 +20,20 @@ fz_display_list *fz_new_display_list_from_annot(fz_context *ctx, fz_annot *annot /* fz_new_pixmap_from_page: Render the page to a pixmap using the transform and colorspace. */ -fz_pixmap *fz_new_pixmap_from_display_list(fz_context *ctx, fz_display_list *list, const fz_matrix *ctm, fz_colorspace *cs, int alpha); -fz_pixmap *fz_new_pixmap_from_page(fz_context *ctx, fz_page *page, const fz_matrix *ctm, fz_colorspace *cs, int alpha); -fz_pixmap *fz_new_pixmap_from_page_number(fz_context *ctx, fz_document *doc, int number, const fz_matrix *ctm, fz_colorspace *cs, int alpha); +fz_pixmap *fz_new_pixmap_from_display_list(fz_context *ctx, fz_display_list *list, fz_matrix ctm, fz_colorspace *cs, int alpha); +fz_pixmap *fz_new_pixmap_from_page(fz_context *ctx, fz_page *page, fz_matrix ctm, fz_colorspace *cs, int alpha); +fz_pixmap *fz_new_pixmap_from_page_number(fz_context *ctx, fz_document *doc, int number, fz_matrix ctm, fz_colorspace *cs, int alpha); /* fz_new_pixmap_from_page_contents: Render the page contents without annotations. */ -fz_pixmap *fz_new_pixmap_from_page_contents(fz_context *ctx, fz_page *page, const fz_matrix *ctm, fz_colorspace *cs, int alpha); +fz_pixmap *fz_new_pixmap_from_page_contents(fz_context *ctx, fz_page *page, fz_matrix ctm, fz_colorspace *cs, int alpha); /* fz_new_pixmap_from_annot: Render an annotation suitable for blending on top of the opaque pixmap returned by fz_new_pixmap_from_page_contents. */ -fz_pixmap *fz_new_pixmap_from_annot(fz_context *ctx, fz_annot *annot, const fz_matrix *ctm, fz_colorspace *cs, int alpha); +fz_pixmap *fz_new_pixmap_from_annot(fz_context *ctx, fz_annot *annot, fz_matrix ctm, fz_colorspace *cs, int alpha); /* fz_new_stext_page_from_page: Extract structured text from a page. |