summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/output-pwg.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-15 11:31:36 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-15 14:11:10 +0100
commit3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (patch)
tree13253bb6d7af2716f882e878be956fa157544ec6 /include/mupdf/fitz/output-pwg.h
parent88a1d527a50e3cc48606ce097a335669ae84a716 (diff)
downloadmupdf-3afdcd7307fd5e68f35c7bb91a4d856499f1df44.tar.xz
Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x.
Separate naming of functions that save complete files to disk from functions that write data to streams.
Diffstat (limited to 'include/mupdf/fitz/output-pwg.h')
-rw-r--r--include/mupdf/fitz/output-pwg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/output-pwg.h b/include/mupdf/fitz/output-pwg.h
index d2bb4a1f..6d399848 100644
--- a/include/mupdf/fitz/output-pwg.h
+++ b/include/mupdf/fitz/output-pwg.h
@@ -52,7 +52,7 @@ struct fz_pwg_options_s
};
/*
- fz_write_pwg: Save a pixmap as a pwg
+ fz_save_pixmap_as_pwg: Save a pixmap as a pwg
filename: The filename to save as (including extension).
@@ -61,10 +61,10 @@ struct fz_pwg_options_s
pwg: NULL, or a pointer to an options structure (initialised to zero
before being filled in, for future expansion).
*/
-void fz_write_pwg(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append, const fz_pwg_options *pwg);
+void fz_save_pixmap_as_pwg(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append, const fz_pwg_options *pwg);
/*
- fz_write_pwg_bitmap: Save a bitmap as a pwg
+ fz_save_bitmap_as_pwg: Save a bitmap as a pwg
filename: The filename to save as (including extension).
@@ -73,7 +73,7 @@ void fz_write_pwg(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append
pwg: NULL, or a pointer to an options structure (initialised to zero
before being filled in, for future expansion).
*/
-void fz_write_pwg_bitmap(fz_context *ctx, fz_bitmap *bitmap, char *filename, int append, const fz_pwg_options *pwg);
+void fz_save_bitmap_as_pwg(fz_context *ctx, fz_bitmap *bitmap, char *filename, int append, const fz_pwg_options *pwg);
/*
Output a pixmap to an output stream as a pwg raster.