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