diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 12:08:37 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 14:11:10 +0100 |
commit | 209046c6faf046e7198cd159c232cfb885c58740 (patch) | |
tree | fad1a6499b08131595afefa0420008f69aa353ac /include/mupdf/fitz/output-pwg.h | |
parent | 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (diff) | |
download | mupdf-209046c6faf046e7198cd159c232cfb885c58740.tar.xz |
Rename fz_output_x to fz_write_pixmap_as_x etc.
Diffstat (limited to 'include/mupdf/fitz/output-pwg.h')
-rw-r--r-- | include/mupdf/fitz/output-pwg.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/mupdf/fitz/output-pwg.h b/include/mupdf/fitz/output-pwg.h index 6d399848..0bd782f6 100644 --- a/include/mupdf/fitz/output-pwg.h +++ b/include/mupdf/fitz/output-pwg.h @@ -78,21 +78,26 @@ void fz_save_bitmap_as_pwg(fz_context *ctx, fz_bitmap *bitmap, char *filename, i /* Output a pixmap to an output stream as a pwg raster. */ -void fz_output_pwg(fz_context *ctx, fz_output *out, const fz_pixmap *pixmap, const fz_pwg_options *pwg); +void fz_write_pixmap_as_pwg(fz_context *ctx, fz_output *out, const fz_pixmap *pixmap, const fz_pwg_options *pwg); + +/* + Output a bitmap to an output stream as a pwg raster. +*/ +void fz_write_bitmap_as_pwg(fz_context *ctx, fz_output *out, const fz_bitmap *bitmap, const fz_pwg_options *pwg); /* Output the file header to a pwg stream, ready for pages to follow it. */ -void fz_output_pwg_file_header(fz_context *ctx, fz_output *out); +void fz_write_pwg_header(fz_context *ctx, fz_output *out); /* Output a page to a pwg stream to follow a header, or other pages. */ -void fz_output_pwg_page(fz_context *ctx, fz_output *out, const fz_pixmap *pixmap, const fz_pwg_options *pwg); +void fz_write_pixmap_as_pwg_page(fz_context *ctx, fz_output *out, const fz_pixmap *pixmap, const fz_pwg_options *pwg); /* Output a bitmap page to a pwg stream to follow a header, or other pages. */ -void fz_output_pwg_bitmap_page(fz_context *ctx, fz_output *out, const fz_bitmap *bitmap, const fz_pwg_options *pwg); +void fz_write_bitmap_as_pwg_page(fz_context *ctx, fz_output *out, const fz_bitmap *bitmap, const fz_pwg_options *pwg); #endif |