diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-23 12:33:30 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-23 16:10:29 +0100 |
commit | cf7b2cbbfe6192fbf697237735ab45bc951304e4 (patch) | |
tree | eac1231a33e79e7f8afa99d63e203b8fededecc4 /include | |
parent | 38ffc7fefeadb87929c2006d1e91394a516c3c9d (diff) | |
download | mupdf-cf7b2cbbfe6192fbf697237735ab45bc951304e4.tar.xz |
Update JNI code. Take explicit alpha argument in toPixmap functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/util.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/mupdf/fitz/util.h b/include/mupdf/fitz/util.h index 186907a3..a4413665 100644 --- a/include/mupdf/fitz/util.h +++ b/include/mupdf/fitz/util.h @@ -18,20 +18,20 @@ fz_display_list *fz_new_display_list_from_page_number(fz_context *ctx, fz_docume /* fz_new_pixmap_from_page: Render the page to a pixmap using the transform and colorspace. */ -fz_pixmap *fz_new_pixmap_from_page(fz_context *ctx, fz_page *page, const fz_matrix *ctm, fz_colorspace *cs); -fz_pixmap *fz_new_pixmap_from_page_number(fz_context *ctx, fz_document *doc, int number, const fz_matrix *ctm, fz_colorspace *cs); +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, const fz_matrix *ctm, fz_colorspace *cs, int alpha); /* - fz_new_pixmap_from_page_contents: Render the page contents without annotations to an opaque pixmap. + 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); +fz_pixmap *fz_new_pixmap_from_page_contents(fz_context *ctx, fz_page *page, const fz_matrix *ctm, fz_colorspace *cs, int alpha); /* - fz_new_pixmap_from_annot: Render an annotation to a transparent pixmap, + 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); +fz_pixmap *fz_new_pixmap_from_annot(fz_context *ctx, fz_annot *annot, const fz_matrix *ctm, fz_colorspace *cs, int alpha); /* fz_new_stext_page_from_page: Extract structured text from a page. The sheet must not be NULL. |