summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mupdf/fitz/device.h b/include/mupdf/fitz/device.h
index 25959424..18dc4881 100644
--- a/include/mupdf/fitz/device.h
+++ b/include/mupdf/fitz/device.h
@@ -287,6 +287,13 @@ fz_device *fz_new_trace_device(fz_context *ctx);
fz_device *fz_new_bbox_device(fz_context *ctx, fz_rect *rectp);
/*
+ fz_new_test_device: Create a device to test for features.
+
+ Currently only tests for the presence of non-grayscale colors.
+*/
+fz_device *fz_new_test_device(fz_context *ctx, int *iscolor);
+
+/*
fz_new_draw_device: Create a device to draw on a pixmap.
dest: Target pixmap for the draw device. See fz_new_pixmap*