summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-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/pdf/pdf-device.c
parent35181e818efdc219a8fccf8479a73fa2b5db640f (diff)
downloadmupdf-a9043b470ba26fc5ec06e1d44ae8e9480d75724a.tar.xz
Add optional scissor hint argument to text clipping functions.
Diffstat (limited to 'source/pdf/pdf-device.c')
-rw-r--r--source/pdf/pdf-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c
index d141c476..85e2f27d 100644
--- a/source/pdf/pdf-device.c
+++ b/source/pdf/pdf-device.c
@@ -983,7 +983,7 @@ pdf_dev_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const
}
static void
-pdf_dev_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm)
+pdf_dev_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm, const fz_rect *scissor)
{
pdf_device *pdev = (pdf_device*)dev;
fz_text_span *span;
@@ -1002,7 +1002,7 @@ pdf_dev_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz
}
static void
-pdf_dev_clip_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm)
+pdf_dev_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)
{
pdf_device *pdev = (pdf_device*)dev;
fz_text_span *span;