summaryrefslogtreecommitdiff
path: root/source/fitz/trace-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-09 22:37:00 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-14 17:08:29 +0100
commitd8125a13c05eef69a3fd3b6a9512dc573b23cc05 (patch)
tree91e5f76353b73abb5512b6deb7e4d1074ec02cc5 /source/fitz/trace-device.c
parent7350d67f358d4f04643f43003861290ab162eaec (diff)
downloadmupdf-d8125a13c05eef69a3fd3b6a9512dc573b23cc05.tar.xz
Remove begin_page and end_page device calls.
To be moved into a new document writer interface later.
Diffstat (limited to 'source/fitz/trace-device.c')
-rw-r--r--source/fitz/trace-device.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/fitz/trace-device.c b/source/fitz/trace-device.c
index fd9adcb5..86a1e60e 100644
--- a/source/fitz/trace-device.c
+++ b/source/fitz/trace-device.c
@@ -100,22 +100,6 @@ fz_trace_path(fz_context *ctx, fz_output *out, const fz_path *path)
}
static void
-fz_trace_begin_page(fz_context *ctx, fz_device *dev, const fz_rect *rect, const fz_matrix *ctm)
-{
- fz_output *out = ((fz_trace_device*)dev)->out;
- fz_printf(ctx, out, "<page mediabox=\"%g %g %g %g\"", rect->x0, rect->y0, rect->x1, rect->y1);
- fz_trace_matrix(ctx, out, ctm);
- fz_printf(ctx, out, ">\n");
-}
-
-static void
-fz_trace_end_page(fz_context *ctx, fz_device *dev)
-{
- fz_output *out = ((fz_trace_device*)dev)->out;
- fz_printf(ctx, out, "</page>\n");
-}
-
-static void
fz_trace_fill_path(fz_context *ctx, fz_device *dev, const fz_path *path, int even_odd, const fz_matrix *ctm,
fz_colorspace *colorspace, const float *color, float alpha)
{
@@ -352,9 +336,6 @@ fz_device *fz_new_trace_device(fz_context *ctx, fz_output *out)
{
fz_trace_device *dev = fz_new_device(ctx, sizeof *dev);
- dev->super.begin_page = fz_trace_begin_page;
- dev->super.end_page = fz_trace_end_page;
-
dev->super.fill_path = fz_trace_fill_path;
dev->super.stroke_path = fz_trace_stroke_path;
dev->super.clip_path = fz_trace_clip_path;