summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-07-04 13:38:18 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-07-06 15:45:40 +0200
commit4d13ba9adbe46fc84fea662b906347bfa90ce208 (patch)
tree3cb349e60b97ced79c37fed937787f4a4dc6ab4e /include
parent7a8be5d456254c6edbf1009a87281c1c963f951a (diff)
downloadmupdf-4d13ba9adbe46fc84fea662b906347bfa90ce208.tar.xz
Add annotations to murun.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/util.h8
1 files changed, 5 insertions, 3 deletions
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);