summaryrefslogtreecommitdiff
path: root/fitz/doc_interactive.c
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-02-22 12:20:33 +0000
committerPaul Gardiner <paulg.artifex@glidos.net>2013-02-22 12:20:33 +0000
commit5d15995814d4d99e44a860ae435659d9e30fad3b (patch)
tree65617f8c4c5819774b510eca4f388a279b67b329 /fitz/doc_interactive.c
parent9d20a4f3a69fdea855f8678c1ad50b5db7472d81 (diff)
downloadmupdf-5d15995814d4d99e44a860ae435659d9e30fad3b.tar.xz
Add fz_get_annot_type
Diffstat (limited to 'fitz/doc_interactive.c')
-rw-r--r--fitz/doc_interactive.c5
1 files changed, 5 insertions, 0 deletions
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);