diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 13:02:18 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 13:04:03 +0100 |
commit | a9043b470ba26fc5ec06e1d44ae8e9480d75724a (patch) | |
tree | ab0f875e720b3f9d74253d58eed5614ac5301756 /source/fitz/stext-device.c | |
parent | 35181e818efdc219a8fccf8479a73fa2b5db640f (diff) | |
download | mupdf-a9043b470ba26fc5ec06e1d44ae8e9480d75724a.tar.xz |
Add optional scissor hint argument to text clipping functions.
Diffstat (limited to 'source/fitz/stext-device.c')
-rw-r--r-- | source/fitz/stext-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c index 9652436a..1decf5af 100644 --- a/source/fitz/stext-device.c +++ b/source/fitz/stext-device.c @@ -854,7 +854,7 @@ fz_stext_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const } static void -fz_stext_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm) +fz_stext_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_matrix *ctm, const fz_rect *scissor) { fz_stext_device *tdev = (fz_stext_device*)dev; fz_stext_style *style; @@ -867,7 +867,7 @@ fz_stext_clip_text(fz_context *ctx, fz_device *dev, const fz_text *text, const f } static void -fz_stext_clip_stroke_text(fz_context *ctx, fz_device *dev, const fz_text *text, const fz_stroke_state *stroke, const fz_matrix *ctm) +fz_stext_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_stext_device *tdev = (fz_stext_device*)dev; fz_stext_style *style; |