summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-04-30 10:33:54 +0200
committerRobin Watts <robin.watts@artifex.com>2013-04-30 15:55:24 +0100
commita2a6d67e426d14b34233a3f3edf737bc82aa5ffb (patch)
tree7a19945f0d6784a24f63e05de37e219dde5acaaa
parent2df69b18472d6ac1989209377916093878317faa (diff)
downloadmupdf-a2a6d67e426d14b34233a3f3edf737bc82aa5ffb.tar.xz
Move device hint functions to a more appropriate source file.
-rw-r--r--fitz/dev_null.c12
-rw-r--r--fitz/dev_text.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/fitz/dev_null.c b/fitz/dev_null.c
index af9e2c64..d92822b3 100644
--- a/fitz/dev_null.c
+++ b/fitz/dev_null.c
@@ -23,6 +23,18 @@ fz_free_device(fz_device *dev)
}
void
+fz_enable_device_hints(fz_device *dev, int hints)
+{
+ dev->hints |= hints;
+}
+
+void
+fz_disable_device_hints(fz_device *dev, int hints)
+{
+ dev->hints &= ~hints;
+}
+
+void
fz_fill_path(fz_device *dev, fz_path *path, int even_odd, const fz_matrix *ctm,
fz_colorspace *colorspace, float *color, float alpha)
{
diff --git a/fitz/dev_text.c b/fitz/dev_text.c
index e9d18bb3..a730a26c 100644
--- a/fitz/dev_text.c
+++ b/fitz/dev_text.c
@@ -914,18 +914,6 @@ fz_new_text_device(fz_context *ctx, fz_text_sheet *sheet, fz_text_page *page)
return dev;
}
-void
-fz_enable_device_hints(fz_device *dev, int hints)
-{
- dev->hints |= hints;
-}
-
-void
-fz_disable_device_hints(fz_device *dev, int hints)
-{
- dev->hints &= ~hints;
-}
-
/* XML, HTML and plain-text output */
static int font_is_bold(fz_font *font)