diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-27 14:20:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-02-27 17:47:54 +0100 |
commit | 8ebca3d5481961f56b5754ab4cfa9544f58c5b0b (patch) | |
tree | 63ba1f4a7f228234eb4fd6cf13f682a653519076 /include | |
parent | ce03adbff727cfad99e7103068b73f7782cbc9f7 (diff) | |
download | mupdf-8ebca3d5481961f56b5754ab4cfa9544f58c5b0b.tar.xz |
Use fz_point for pdf_set_annot_ink_list and vertices too.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index 4c3a8b75..13111aab 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -175,7 +175,7 @@ void pdf_set_annot_quad_points(fz_context *ctx, pdf_annot *annot, int n, const f void pdf_clear_annot_quad_points(fz_context *ctx, pdf_annot *annot); void pdf_add_annot_quad_point(fz_context *ctx, pdf_annot *annot, fz_rect bbox); -void pdf_set_annot_ink_list(fz_context *ctx, pdf_annot *annot, int n, const int *count, const float *v); +void pdf_set_annot_ink_list(fz_context *ctx, pdf_annot *annot, int n, const int *count, const fz_point *v); 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[]); @@ -193,10 +193,10 @@ void pdf_set_annot_line(fz_context *ctx, pdf_annot *annot, fz_point a, fz_point int pdf_annot_vertex_count(fz_context *ctx, pdf_annot *annot); fz_point pdf_annot_vertex(fz_context *ctx, pdf_annot *annot, int i); +void pdf_set_annot_vertices(fz_context *ctx, pdf_annot *annot, int n, const fz_point *v); void pdf_clear_annot_vertices(fz_context *ctx, pdf_annot *annot); void pdf_add_annot_vertex(fz_context *ctx, pdf_annot *annot, fz_point p); void pdf_set_annot_vertex(fz_context *ctx, pdf_annot *annot, int i, fz_point p); -void pdf_set_annot_vertices(fz_context *ctx, pdf_annot *annot, int n, const float *v); /* pdf_set_text_annot_position: set the position on page for a text (sticky note) annotation. |