diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-16 16:32:08 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-17 14:53:20 +0200 |
commit | ccaf716d6c3f20731aaed277653cf3b1be4e218b (patch) | |
tree | 3cb2f6e7776007a66dd74ccf1323c17a2c597c2f /include/mupdf/fitz/writer.h | |
parent | 27269d493d66e16bfd7a5b5a0b09c4f21693260b (diff) | |
download | mupdf-ccaf716d6c3f20731aaed277653cf3b1be4e218b.tar.xz |
Add device space transform state to draw device.
Allows us to remove the out parameter 'transform' from fz_begin_page.
Diffstat (limited to 'include/mupdf/fitz/writer.h')
-rw-r--r-- | include/mupdf/fitz/writer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/writer.h b/include/mupdf/fitz/writer.h index 98b0824a..6f0f47be 100644 --- a/include/mupdf/fitz/writer.h +++ b/include/mupdf/fitz/writer.h @@ -11,7 +11,7 @@ typedef struct fz_document_writer_s fz_document_writer; struct fz_document_writer_s { - fz_device *(*begin_page)(fz_context *ctx, fz_document_writer *wri, const fz_rect *mediabox, fz_matrix *ctm); + fz_device *(*begin_page)(fz_context *ctx, fz_document_writer *wri, const fz_rect *mediabox); void (*end_page)(fz_context *ctx, fz_document_writer *wri, fz_device *dev); void (*close)(fz_context *ctx, fz_document_writer *wri); }; @@ -20,7 +20,7 @@ int fz_has_option(fz_context *ctx, const char *opts, const char *key, const char fz_document_writer *fz_new_document_writer(fz_context *ctx, const char *path, const char *format, const char *options); -fz_device *fz_begin_page(fz_context *ctx, fz_document_writer *wri, const fz_rect *mediabox, fz_matrix *ctm); +fz_device *fz_begin_page(fz_context *ctx, fz_document_writer *wri, const fz_rect *mediabox); void fz_end_page(fz_context *ctx, fz_document_writer *wri, fz_device *dev); void fz_close_document_writer(fz_context *ctx, fz_document_writer *wri); void fz_drop_document_writer(fz_context *ctx, fz_document_writer *wri); |