xref: /plan9/sys/src/cmd/gs/src/gxdevndi.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1994, 1995, 1996, 1997, 1998 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: gxdevndi.h,v 1.1 2002/08/22 07:12:29 henrys Exp $ */
18 /* Interface to gxdevndi.c */
19 
20 /* This is the halfoning handlers for DeviceN colors */
21 
22 #ifndef gxdevndi_INCLUDED
23 #  define gxdevndi_INCLUDED
24 
25 #include "gxfrac.h"
26 
27 #ifndef gx_device_halftone_DEFINED
28 #  define gx_device_halftone_DEFINED
29 typedef struct gx_device_halftone_s gx_device_halftone;
30 #endif
31 
32 /* Render a color, possibly by halftoning. */
33 /* Return as for gx_render_[device_]gray. */
34 int gx_render_device_color_devn(P10(frac red, frac green, frac blue, frac white,
35 			       bool cmyk, gx_color_value alpha,
36 			       gx_device_color * pdevc, gx_device * dev,
37 			       gx_device_halftone * pdht,
38 			       const gs_int_point * ht_phase));
39 
40 
41 #endif /* gxdevndi_INCLUDED */
42