diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | include/mupdf/fitz/util.h | 10 | ||||
-rw-r--r-- | include/mupdf/svg.h | 7 | ||||
-rw-r--r-- | source/html/html-layout.c | 1 |
4 files changed, 10 insertions, 9 deletions
@@ -121,7 +121,6 @@ $(OUT)/platform/gl/%.o : platform/gl/%.c | $(ALL_DIR) FITZ_HDR := include/mupdf/fitz.h $(wildcard include/mupdf/fitz/*.h) PDF_HDR := include/mupdf/pdf.h $(wildcard include/mupdf/pdf/*.h) -SVG_HDR := include/mupdf/svg.h THREAD_HDR := include/mupdf/helpers/mu-threads.h FITZ_SRC := $(wildcard source/fitz/*.c) 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 diff --git a/include/mupdf/svg.h b/include/mupdf/svg.h deleted file mode 100644 index 7d166906..00000000 --- a/include/mupdf/svg.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef MUPDF_SVG_H -#define MUPDF_SVG_H - -fz_display_list *fz_new_display_list_from_svg(fz_context *ctx, fz_buffer *buf, float *w, float *h); -fz_image *fz_new_image_from_svg(fz_context *ctx, fz_buffer *buf); - -#endif diff --git a/source/html/html-layout.c b/source/html/html-layout.c index ac64a890..8caf7e34 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -1,6 +1,5 @@ #include "mupdf/fitz.h" #include "mupdf/ucdn.h" -#include "mupdf/svg.h" #include "html-imp.h" #include "hb.h" |