From 5d15995814d4d99e44a860ae435659d9e30fad3b Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Fri, 22 Feb 2013 12:20:33 +0000 Subject: Add fz_get_annot_type --- fitz/doc_interactive.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fitz/doc_interactive.c') diff --git a/fitz/doc_interactive.c b/fitz/doc_interactive.c index ea08577d..db9fce87 100644 --- a/fitz/doc_interactive.c +++ b/fitz/doc_interactive.c @@ -81,6 +81,11 @@ void fz_choice_widget_set_value(fz_interactive *idoc, fz_widget *tw, int n, char pdf_choice_widget_set_value((pdf_document *)idoc, tw, n, opts); } +fz_annot_type fz_get_annot_type(fz_annot *annot) +{ + return pdf_annot_type((pdf_annot *)annot); +} + fz_annot *fz_create_annot(fz_interactive *idoc, fz_page *page, fz_annot_type type) { return (fz_annot *)pdf_create_annot((pdf_document *)idoc, (pdf_page *)page, type); -- cgit v1.2.3