summaryrefslogtreecommitdiff
path: root/fitz/dev_null.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-04 17:44:27 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-04 17:44:27 +0200
commit6a87014ff020538841d7f5a0dd1adef8a6ce9e79 (patch)
treea98e917471df377a3e2ef852652ebb1535bec0be /fitz/dev_null.c
parente77893b29cf53a9d6933cab0f9ae9e78b30a6592 (diff)
downloadmupdf-6a87014ff020538841d7f5a0dd1adef8a6ce9e79.tar.xz
Add device interface functions to draw tiled patterns.
Diffstat (limited to 'fitz/dev_null.c')
-rw-r--r--fitz/dev_null.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fitz/dev_null.c b/fitz/dev_null.c
index 7c80b0ff..2d20a966 100644
--- a/fitz/dev_null.c
+++ b/fitz/dev_null.c
@@ -19,6 +19,8 @@ static void fz_nullbeginmask(void *user, fz_rect r, int luminosity, fz_colorspac
static void fz_nullendmask(void *user) {}
static void fz_nullbegingroup(void *user, fz_rect r, int isolated, int knockout, fz_blendmode blendmode, float alpha) {}
static void fz_nullendgroup(void *user) {}
+static void fz_nullbegintile(void *user, fz_rect area, fz_rect view, float xstep, float ystep, fz_matrix ctm) {}
+static void fz_nullendtile(void *user) {}
fz_device *
fz_newdevice(void *user)
@@ -54,6 +56,9 @@ fz_newdevice(void *user)
dev->begingroup = fz_nullbegingroup;
dev->endgroup = fz_nullendgroup;
+ dev->begintile = fz_nullbegintile;
+ dev->endtile = fz_nullendtile;
+
return dev;
}