From 4e490cbc7472da69e481146c8bf932027623f33c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 23 Feb 2018 13:54:09 +0100 Subject: Add annotation Line access functions. --- include/mupdf/pdf/annot.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mupdf/pdf') 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); -- cgit v1.2.3