diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 12:50:01 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:11:37 +0200 |
commit | 99278e762603380638ad037094a955312013e94c (patch) | |
tree | b58126c5804af5c677cbcf69f15770d3f136d0a4 /include/mupdf/fitz/util.h | |
parent | 0d60d3a866f80f091fca68316bcb2c01aa416b96 (diff) | |
download | mupdf-99278e762603380638ad037094a955312013e94c.tar.xz |
Remove public SVG header.
Move the two SVG utility functions into fitz/util.h
Diffstat (limited to 'include/mupdf/fitz/util.h')
-rw-r--r-- | include/mupdf/fitz/util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mupdf/fitz/util.h b/include/mupdf/fitz/util.h index e5e1c723..5bd059e8 100644 --- a/include/mupdf/fitz/util.h +++ b/include/mupdf/fitz/util.h @@ -61,4 +61,14 @@ int fz_search_page(fz_context *ctx, fz_page *page, const char *needle, fz_rect * int fz_search_page_number(fz_context *ctx, fz_document *doc, int number, const char *needle, fz_rect *hit_bbox, int hit_max); int fz_search_display_list(fz_context *ctx, fz_display_list *list, const char *needle, fz_rect *hit_bbox, int hit_max); +/* + Parse an SVG document into a display-list. +*/ +fz_display_list *fz_new_display_list_from_svg(fz_context *ctx, fz_buffer *buf, float *w, float *h); + +/* + Create a scalable image from an SVG document. +*/ +fz_image *fz_new_image_from_svg(fz_context *ctx, fz_buffer *buf); + #endif |