diff options
Diffstat (limited to 'ios/document.h')
-rw-r--r-- | ios/document.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/document.h b/ios/document.h index 00805a5d..95aa9703 100644 --- a/ios/document.h +++ b/ios/document.h @@ -20,6 +20,8 @@ struct document int number; pdf_page *pdf_page; xps_page *xps_page; + fz_bbox hit_bbox[500]; + int hit_count; }; struct document *open_document(char *filename); @@ -28,6 +30,7 @@ int count_pages(struct document *doc); void measure_page(struct document *doc, int number, float *w, float *h); void draw_page(struct document *doc, int number, fz_device *dev, fz_matrix ctm); int search_page(struct document *doc, int number, char *needle); +fz_bbox search_result_bbox(struct document *doc, int i); void close_document(struct document *doc); #endif |