diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-07-25 22:36:20 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-07-25 22:36:20 +0800 |
commit | 818e78d3cadf3a6236526fa54ae188d63891a0bd (patch) | |
tree | 507eba2a4ffa9766c198c843370cec94c3689f08 /include | |
parent | 2bd66c263ec4514b31966495924ed386413d8327 (diff) | |
download | mupdf-818e78d3cadf3a6236526fa54ae188d63891a0bd.tar.xz |
Make it possible to check for properties of PDF annotations.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index bc4b1d2e..4d98d9ce 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -143,6 +143,14 @@ pdf_annot *pdf_create_annot(fz_context *ctx, pdf_page *page, fz_annot_type type) */ void pdf_delete_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot); +int pdf_annot_has_ink_list(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_quad_points(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_vertices(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_interior_color(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_line_ending_styles(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_icon_name(fz_context *ctx, pdf_annot *annot); +int pdf_annot_has_open(fz_context *ctx, pdf_annot *annot); + int pdf_annot_flags(fz_context *ctx, pdf_annot *annot); void pdf_annot_rect(fz_context *ctx, pdf_annot *annot, fz_rect *rect); float pdf_annot_border(fz_context *ctx, pdf_annot *annot); |