From a2a6d67e426d14b34233a3f3edf737bc82aa5ffb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 30 Apr 2013 10:33:54 +0200 Subject: Move device hint functions to a more appropriate source file. --- fitz/dev_null.c | 12 ++++++++++++ fitz/dev_text.c | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'fitz') 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 @@ -22,6 +22,18 @@ fz_free_device(fz_device *dev) fz_free(dev->ctx, 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) -- cgit v1.2.3