summaryrefslogtreecommitdiff
path: root/fitz/fitz-internal.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-12 16:26:23 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-12 16:26:23 +0200
commitb975f1b82a061db61124d1cf0cd55ab60c22dc8e (patch)
tree7694c8c6879ba594464f28a93d9d725eb78f2df7 /fitz/fitz-internal.h
parent6cf0e12ecdaa54bfc024d056445919da0f4198bb (diff)
downloadmupdf-b975f1b82a061db61124d1cf0cd55ab60c22dc8e.tar.xz
Add begin_page and end_page calls to device interface.
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r--fitz/fitz-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h
index 5b415f4a..37e83df8 100644
--- a/fitz/fitz-internal.h
+++ b/fitz/fitz-internal.h
@@ -1485,6 +1485,9 @@ struct fz_device_s
void (*free_user)(fz_device *);
fz_context *ctx;
+ void (*begin_page)(fz_device *, const fz_rect *rect, const fz_matrix *ctm);
+ void (*end_page)(fz_device *);
+
void (*fill_path)(fz_device *, fz_path *, int even_odd, const fz_matrix *, fz_colorspace *, float *color, float alpha);
void (*stroke_path)(fz_device *, fz_path *, fz_stroke_state *, const fz_matrix *, fz_colorspace *, float *color, float alpha);
void (*clip_path)(fz_device *, fz_path *, const fz_rect *rect, int even_odd, const fz_matrix *);
@@ -1515,6 +1518,8 @@ struct fz_device_s
char errmess[256];
};
+void fz_begin_page(fz_device *dev, const fz_rect *rect, const fz_matrix *ctm);
+void fz_end_page(fz_device *dev);
void fz_fill_path(fz_device *dev, fz_path *path, int even_odd, const fz_matrix *ctm, fz_colorspace *colorspace, float *color, float alpha);
void fz_stroke_path(fz_device *dev, fz_path *path, fz_stroke_state *stroke, const fz_matrix *ctm, fz_colorspace *colorspace, float *color, float alpha);
void fz_clip_path(fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm);