diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-01-26 16:22:29 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-01-26 19:24:12 +0000 |
commit | 4a61e49b6eda6c9f74c8010548f529385a5ade5e (patch) | |
tree | 9d9fd82495c8d3b1a00ff3ef0dcd01f0f7147b21 /xps/muxps.h | |
parent | 50dbc1a356577f3df15a876f6adb716dea29bdc5 (diff) | |
download | mupdf-4a61e49b6eda6c9f74c8010548f529385a5ade5e.tar.xz |
Pull in XPS commits from GhostXPS to MuXPS
This brings MuXPS up to date with GhostXPS as of today.
The commits pulled in are:
856ecdc Whitespace fixes for parsing dashed line attributes
91dc749 Whitespace fixes while parsing points.
This commit is tweaked from the original, and the
changes will be pushed back into GhostXPS shortly.
a298a05 Tiff premultiplied/non-premultiped alpha differences.
No changes required for this, as we hold images
premultiplied already (and already cope with
premultiplying where required). Some changes to
comments and cleanup code to avoid leaks though.
Diffstat (limited to 'xps/muxps.h')
-rw-r--r-- | xps/muxps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xps/muxps.h b/xps/muxps.h index 96a8a1eb..c708ac60 100644 --- a/xps/muxps.h +++ b/xps/muxps.h @@ -255,4 +255,10 @@ xps_document *xps_open_file(fz_context *ctx, char *filename); xps_document *xps_open_stream(fz_stream *file); void xps_free_context(xps_document *doc); +/* + * Parsing helper functions + */ +char *xps_get_real_params(char *s, int num, float *x); +char *xps_get_point(char *s_in, float *x, float *y); + #endif |