diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-03-13 16:37:34 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-03-16 14:51:41 +0100 |
commit | 37451d0648a01ffe91ac14e9b27b4ee3b0b881f1 (patch) | |
tree | ae44a740469ba4b3ab4721fc7b31529cead837b9 /include/mupdf/pdf | |
parent | f449fe60b01482b925fe09b75c4cf8aaa16b95cb (diff) | |
download | mupdf-37451d0648a01ffe91ac14e9b27b4ee3b0b881f1.tar.xz |
Add simpler annotation line ending style accessors.
Diffstat (limited to 'include/mupdf/pdf')
-rw-r--r-- | include/mupdf/pdf/annot.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index 11ce0fba..58c11a33 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -190,11 +190,16 @@ void pdf_set_annot_ink_list(fz_context *ctx, pdf_annot *annot, int n, const int void pdf_clear_annot_ink_list(fz_context *ctx, pdf_annot *annot); void pdf_add_annot_ink_list(fz_context *ctx, pdf_annot *annot, int n, fz_point stroke[]); -void pdf_set_annot_line_ending_styles(fz_context *ctx, pdf_annot *annot, enum pdf_line_ending start_style, enum pdf_line_ending end_style); void pdf_set_annot_icon_name(fz_context *ctx, pdf_annot *annot, const char *name); void pdf_set_annot_is_open(fz_context *ctx, pdf_annot *annot, int is_open); +enum pdf_line_ending pdf_annot_line_start_style(fz_context *ctx, pdf_annot *annot); +enum pdf_line_ending pdf_annot_line_end_style(fz_context *ctx, pdf_annot *annot); void pdf_annot_line_ending_styles(fz_context *ctx, pdf_annot *annot, enum pdf_line_ending *start_style, enum pdf_line_ending *end_style); +void pdf_set_annot_line_start_style(fz_context *ctx, pdf_annot *annot, enum pdf_line_ending s); +void pdf_set_annot_line_end_style(fz_context *ctx, pdf_annot *annot, enum pdf_line_ending e); +void pdf_set_annot_line_ending_styles(fz_context *ctx, pdf_annot *annot, enum pdf_line_ending start_style, enum pdf_line_ending end_style); + const char *pdf_annot_icon_name(fz_context *ctx, pdf_annot *annot); int pdf_annot_is_open(fz_context *ctx, pdf_annot *annot); |