1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* MicroPDF FFI Compatibility Header
*
* This header provides 100% fz_/pdf_ API compatible FFI bindings.
* Include this for drop-in compatibility with applications using the fz_/pdf_ API.
*
* All 660+ fz_* and pdf_* functions are available through this header.
*
* Usage:
* #include <mupdf-ffi.h>
*
* Or for complete MicroPDF compatibility:
* #include <mupdf.h>
*/
/*
* All fz_/pdf_ compatible functions are available through micropdf.h
*
* Function categories:
* - Context management (fz_new_context, fz_drop_context, etc.)
* - Document operations (fz_open_document, fz_load_page, etc.)
* - Geometry operations (fz_concat, fz_transform_rect, etc.)
* - Buffer operations (fz_new_buffer, fz_append_data, etc.)
* - Device operations (fz_new_bbox_device, fz_fill_path, etc.)
* - Image operations (fz_new_image_from_pixmap, fz_decode_image, etc.)
* - Text operations (fz_new_text, fz_show_string, etc.)
* - PDF object operations (pdf_new_dict, pdf_dict_get, etc.)
* - PDF annotation operations (pdf_create_annot, pdf_set_annot_contents, etc.)
* - PDF form operations (pdf_next_widget, pdf_set_field_value, etc.)
*
* Total coverage: 660+ functions
*/
/* MICROPDF_FFI_H */