summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/separation.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-09-25 19:22:49 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:37 +0100
commit79bc9c182e74bcd58c6de33be8dfeb384a07199b (patch)
tree6e5155ac4558a785e6a483804b4e16675ae066a7 /include/mupdf/fitz/separation.h
parentc8376f966de15dac704666cc7446366328ea8737 (diff)
downloadmupdf-79bc9c182e74bcd58c6de33be8dfeb384a07199b.tar.xz
Fix separations object handling when cloning for spots.
The 'producing spots' case is poorly tested, but I believe we should be keeping the spot information internally, rather than NULLing it out.
Diffstat (limited to 'include/mupdf/fitz/separation.h')
-rw-r--r--include/mupdf/fitz/separation.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/mupdf/fitz/separation.h b/include/mupdf/fitz/separation.h
index 9bbb1845..aa66b3ba 100644
--- a/include/mupdf/fitz/separation.h
+++ b/include/mupdf/fitz/separation.h
@@ -67,8 +67,11 @@ int fz_separations_controllable(fz_context *ctx, const fz_separations *seps);
/* Return the number of active separations. */
int fz_count_active_separations(fz_context *ctx, const fz_separations *seps);
-/* If the separations selection is unsuitable for overprint,
- * clone it to produce one that is, otherwise return NULL. */
+/* Return a separations object with all the spots in the input
+ * separations object that are set to composite, reset to be
+ * enabled. If there ARE no spots in the object, this returns
+ * NULL. If the object already has all its spots enabled, then
+ * just returns another handle on the same object. */
fz_separations *fz_clone_separations_for_overprint(fz_context *ctx, fz_separations *seps);
/* Convert a color given in terms of one colorspace,