1 /* Copyright (C) 2001-2012 Artifex Software, Inc.
2    All Rights Reserved.
3 
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6 
7    This software is distributed under license and may not be copied,
8    modified or distributed except as expressly authorized under the terms
9    of the license contained in the file LICENSE in this distribution.
10 
11    Refer to licensing information at http://www.artifex.com or contact
12    Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134, San Rafael,
13    CA  94903, U.S.A., +1(415)492-9861, for further information.
14 */
15 
16 
17 /* Client interface to Level 1 extended color facilities */
18 /* Requires gscolor.h */
19 
20 #ifndef gscolor1_INCLUDED
21 #  define gscolor1_INCLUDED
22 
23 /* Color and gray interface */
24 int gs_setcmykcolor(gs_state *, floatp, floatp, floatp, floatp),
25     gs_currentcmykcolor(const gs_state *, float[4]),
26     gs_setblackgeneration(gs_state *, gs_mapping_proc),
27     gs_setblackgeneration_remap(gs_state *, gs_mapping_proc, bool);
28 gs_mapping_proc gs_currentblackgeneration(const gs_state *);
29 int gs_setundercolorremoval(gs_state *, gs_mapping_proc),
30     gs_setundercolorremoval_remap(gs_state *, gs_mapping_proc, bool);
31 gs_mapping_proc gs_currentundercolorremoval(const gs_state *);
32 
33 /* Transfer function */
34 int gs_setcolortransfer(gs_state *, gs_mapping_proc /*red */ ,
35                         gs_mapping_proc /*green */ ,
36                         gs_mapping_proc /*blue */ ,
37                         gs_mapping_proc /*gray */ ),
38     gs_setcolortransfer_remap(gs_state *, gs_mapping_proc /*red */ ,
39                               gs_mapping_proc /*green */ ,
40                               gs_mapping_proc /*blue */ ,
41                               gs_mapping_proc /*gray */ , bool);
42 void gs_currentcolortransfer(const gs_state *, gs_mapping_proc[4]);
43 
44 #endif /* gscolor1_INCLUDED */
45