diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-23 13:54:09 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-02-27 14:08:27 +0100 |
commit | 4e490cbc7472da69e481146c8bf932027623f33c (patch) | |
tree | c5a5c3d1ee596ce685b75d0554513799de975a62 /include | |
parent | 4dfced061fe7bc64335d3ccd31435091de0e0fe1 (diff) | |
download | mupdf-4e490cbc7472da69e481146c8bf932027623f33c.tar.xz |
Add annotation Line access functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index 9f85d3ed..4b012ed7 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -140,6 +140,7 @@ 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_line(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); @@ -178,6 +179,9 @@ void pdf_annot_line_ending_styles(fz_context *ctx, pdf_annot *annot, int *start_ const char *pdf_annot_icon_name(fz_context *ctx, pdf_annot *annot); int pdf_annot_is_open(fz_context *ctx, pdf_annot *annot); +void pdf_annot_line(fz_context *ctx, pdf_annot *annot, fz_point *a, fz_point *b); +void pdf_set_annot_line(fz_context *ctx, pdf_annot *annot, fz_point a, fz_point b); + int pdf_annot_vertex_count(fz_context *ctx, pdf_annot *annot); fz_point pdf_annot_vertex(fz_context *ctx, pdf_annot *annot, int i); |