Function mupdf_sys::fz_search_page
source · pub unsafe extern "C" fn fz_search_page(
ctx: *mut fz_context,
page: *mut fz_page,
needle: *const c_char,
hit_mark: *mut c_int,
hit_bbox: *mut fz_quad,
hit_max: c_int
) -> c_int
Expand description
Search for the ‘needle’ text on the page. Record the hits in the hit_bbox array and return the number of hits. Will stop looking once it has filled hit_max rectangles.