summaryrefslogtreecommitdiff
path: root/source/fitz/trace-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-22 14:20:37 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-22 14:31:17 +0100
commit2af96d78c56c9cc81176c732563a5a4338012a0b (patch)
tree14870652195ea97de5a6a6630a0b478ecce8fba9 /source/fitz/trace-device.c
parentad8a5680e6d3fd1ad77ae2c1a3d38ebe2042f2cb (diff)
downloadmupdf-2af96d78c56c9cc81176c732563a5a4338012a0b.tar.xz
Drop const from fz_image.
Image objects are immutable and opaque once constructed. Therefore there is no need for the const keyword.
Diffstat (limited to 'source/fitz/trace-device.c')
-rw-r--r--source/fitz/trace-device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/trace-device.c b/source/fitz/trace-device.c
index 81ab9156..471c71ab 100644
--- a/source/fitz/trace-device.c
+++ b/source/fitz/trace-device.c
@@ -251,7 +251,7 @@ fz_trace_ignore_text(fz_context *ctx, fz_device *dev, const fz_text *text, const
}
static void
-fz_trace_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm, float alpha)
+fz_trace_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, float alpha)
{
fz_output *out = ((fz_trace_device*)dev)->out;
fz_printf(ctx, out, "<fill_image alpha=\"%g\"", alpha);
@@ -270,7 +270,7 @@ fz_trace_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_m
}
static void
-fz_trace_fill_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm,
+fz_trace_fill_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm,
fz_colorspace *colorspace, const float *color, float alpha)
{
fz_output *out = ((fz_trace_device*)dev)->out;
@@ -282,7 +282,7 @@ fz_trace_fill_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image,
}
static void
-fz_trace_clip_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_rect *rect, const fz_matrix *ctm)
+fz_trace_clip_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_rect *rect, const fz_matrix *ctm)
{
fz_output *out = ((fz_trace_device*)dev)->out;
fz_printf(ctx, out, "<clip_image_mask");