2 |
- |
1 |
/* Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
|
|
|
2 |
|
|
|
3 |
This software is provided AS-IS with no warranty, either express or
|
|
|
4 |
implied.
|
|
|
5 |
|
|
|
6 |
This software is distributed under license and may not be copied,
|
|
|
7 |
modified or distributed except as expressly authorized under the terms
|
|
|
8 |
of the license contained in the file LICENSE in this distribution.
|
|
|
9 |
|
|
|
10 |
For more information about licensing, please refer to
|
|
|
11 |
http://www.ghostscript.com/licensing/. For information on
|
|
|
12 |
commercial licensing, go to http://www.artifex.com/licensing/ or
|
|
|
13 |
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
|
|
|
14 |
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
/* $Id: icremap.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */
|
|
|
18 |
/* Interpreter color remapping structure */
|
|
|
19 |
|
|
|
20 |
#ifndef icremap_INCLUDED
|
|
|
21 |
# define icremap_INCLUDED
|
|
|
22 |
|
|
|
23 |
#include "gsccolor.h"
|
|
|
24 |
|
|
|
25 |
/*
|
|
|
26 |
* Define the structure used to communicate information back to the
|
|
|
27 |
* interpreter for color remapping. Pattern remapping doesn't use the
|
|
|
28 |
* tint values, DeviceN remapping does.
|
|
|
29 |
*/
|
|
|
30 |
#ifndef int_remap_color_info_DEFINED
|
|
|
31 |
# define int_remap_color_info_DEFINED
|
|
|
32 |
typedef struct int_remap_color_info_s int_remap_color_info_t;
|
|
|
33 |
#endif
|
|
|
34 |
struct int_remap_color_info_s {
|
|
|
35 |
op_proc_t proc; /* remapping procedure */
|
|
|
36 |
float tint[GS_CLIENT_COLOR_MAX_COMPONENTS];
|
|
|
37 |
};
|
|
|
38 |
|
|
|
39 |
#define private_st_int_remap_color_info() /* in zgstate.c */\
|
|
|
40 |
gs_private_st_simple(st_int_remap_color_info, int_remap_color_info_t,\
|
|
|
41 |
"int_remap_color_info_t")
|
|
|
42 |
|
|
|
43 |
#endif /* icremap_INCLUDED */
|