summaryrefslogtreecommitdiff
path: root/source/svg/svg-imp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-29 16:46:17 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-07-05 15:32:34 +0200
commitea7403b4c172338dfe7f371302f82859921e60af (patch)
tree4a3fbf8ea35cb53fcbf395f096cf61ffda7b40be /source/svg/svg-imp.h
parent4a99615a609eec2b84bb2341d74fac46a5998137 (diff)
downloadmupdf-ea7403b4c172338dfe7f371302f82859921e60af.tar.xz
Pass matrices by value: device and document interface.
Diffstat (limited to 'source/svg/svg-imp.h')
-rw-r--r--source/svg/svg-imp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/svg/svg-imp.h b/source/svg/svg-imp.h
index ad86b536..614304b8 100644
--- a/source/svg/svg-imp.h
+++ b/source/svg/svg-imp.h
@@ -20,7 +20,7 @@ float svg_parse_length(const char *str, float percent, float font_size);
float svg_parse_angle(const char *str);
void svg_parse_color(fz_context *ctx, svg_document *doc, char *str, float *rgb);
-void svg_parse_transform(fz_context *ctx, svg_document *doc, char *str, fz_matrix *ctm);
+fz_matrix svg_parse_transform(fz_context *ctx, svg_document *doc, char *str, fz_matrix transform);
int svg_is_whitespace_or_comma(int c);
int svg_is_whitespace(int c);
@@ -30,6 +30,6 @@ int svg_is_digit(int c);
/* Graphics content parsing. */
void svg_parse_document_bounds(fz_context *ctx, svg_document *doc, fz_xml *root);
-void svg_run_document(fz_context *ctx, svg_document *doc, fz_xml *root, fz_device *dev, const fz_matrix *ctm);
+void svg_run_document(fz_context *ctx, svg_document *doc, fz_xml *root, fz_device *dev, fz_matrix ctm);
#endif