summaryrefslogtreecommitdiff
path: root/source/fitz/trace-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-24 13:02:18 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-24 13:04:03 +0100
commita9043b470ba26fc5ec06e1d44ae8e9480d75724a (patch)
treeab0f875e720b3f9d74253d58eed5614ac5301756 /source/fitz/trace-device.c
parent35181e818efdc219a8fccf8479a73fa2b5db640f (diff)
downloadmupdf-a9043b470ba26fc5ec06e1d44ae8e9480d75724a.tar.xz
Add optional scissor hint argument to text clipping functions.
Diffstat (limited to 'source/fitz/trace-device.c')
-rw-r--r--source/fitz/trace-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/trace-device.c b/source/fitz/trace-device.c
index 4d1e5b9b..fd9adcb5 100644
--- a/source/fitz/trace-device.c
+++ b/source/fitz/trace-device.c
@@ -215,7 +215,7 @@ fz_trace_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const
}
static void
-fz_trace_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm)
+fz_trace_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm, const fz_rect *scissor)
{
fz_output *out = ((fz_trace_device*)dev)->out;
fz_printf(ctx, out, "<clip_text");
@@ -226,7 +226,7 @@ fz_trace_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const f
}
static void
-fz_trace_clip_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm)
+fz_trace_clip_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm, const fz_rect *scissor)
{
fz_output *out = ((fz_trace_device*)dev)->out;
fz_printf(ctx, out, "<clip_stroke_text");