From 4d13ba9adbe46fc84fea662b906347bfa90ce208 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 4 Jul 2016 13:38:18 +0200 Subject: Add annotations to murun. --- include/mupdf/fitz/util.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/mupdf/fitz/util.h b/include/mupdf/fitz/util.h index a4413665..9f982699 100644 --- a/include/mupdf/fitz/util.h +++ b/include/mupdf/fitz/util.h @@ -14,13 +14,15 @@ */ fz_display_list *fz_new_display_list_from_page(fz_context *ctx, fz_page *page); fz_display_list *fz_new_display_list_from_page_number(fz_context *ctx, fz_document *doc, int number); +fz_display_list *fz_new_display_list_from_page_contents(fz_context *ctx, fz_page *page); +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, const fz_matrix *ctm, fz_colorspace *cs, int alpha); /* fz_new_pixmap_from_page_contents: Render the page contents without annotations. @@ -28,8 +30,8 @@ fz_pixmap *fz_new_pixmap_from_display_list(fz_context *ctx, fz_display_list *lis 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. - suitable for blending on top of the opaque pixmap returned by fz_new_pixmap_from_page_contents. + 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); -- cgit v1.2.3