diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-19 21:47:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-19 21:47:23 +0200 |
commit | 186b2c2e36710b5cb9721520f1abd7f3bb8d2aa3 (patch) | |
tree | f8fbff2714dd2badfebcc7f625e2dc161cd9810d /fitz/dev_null.c | |
parent | 1d2fa92851c8e5ed90279098b81ce2a43add9f68 (diff) | |
download | mupdf-186b2c2e36710b5cb9721520f1abd7f3bb8d2aa3.tar.xz |
Add support for patterns in stroked paths and text.
Diffstat (limited to 'fitz/dev_null.c')
-rw-r--r-- | fitz/dev_null.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fitz/dev_null.c b/fitz/dev_null.c index 751166c5..5c57e15d 100644 --- a/fitz/dev_null.c +++ b/fitz/dev_null.c @@ -4,9 +4,11 @@ static void fz_nullfreeuser(void *user) {} static void fz_nullfillpath(void *user, fz_path *path, fz_matrix ctm, fz_colorspace *colorspace, float *color, float alpha) {} static void fz_nullstrokepath(void *user, fz_path *path, fz_matrix ctm, fz_colorspace *colorspace, float *color, float alpha) {} static void fz_nullclippath(void *user, fz_path *path, fz_matrix ctm) {} +static void fz_nullclipstrokepath(void *user, fz_path *path, fz_matrix ctm) {} static void fz_nullfilltext(void *user, fz_text *text, fz_matrix ctm, fz_colorspace *colorspace, float *color, float alpha) {} static void fz_nullstroketext(void *user, fz_text *text, fz_matrix ctm, fz_colorspace *colorspace, float *color, float alpha) {} static void fz_nullcliptext(void *user, fz_text *text, fz_matrix ctm) {} +static void fz_nullclipstroketext(void *user, fz_text *text, fz_matrix ctm) {} static void fz_nullignoretext(void *user, fz_text *text, fz_matrix ctm) {} static void fz_nullpopclip(void *user) {} static void fz_nullfillshade(void *user, fz_shade *shade, fz_matrix ctm) {} @@ -26,10 +28,12 @@ fz_newdevice(void *user) dev->fillpath = fz_nullfillpath; dev->strokepath = fz_nullstrokepath; dev->clippath = fz_nullclippath; + dev->clipstrokepath = fz_nullclipstrokepath; dev->filltext = fz_nullfilltext; dev->stroketext = fz_nullstroketext; dev->cliptext = fz_nullcliptext; + dev->clipstroketext = fz_nullclipstroketext; dev->ignoretext = fz_nullignoretext; dev->fillshade = fz_nullfillshade; |