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 /* Interface to gxdevndi.c */ 18 19 /* This is the halfoning handlers for DeviceN colors */ 20 21 #ifndef gxdevndi_INCLUDED 22 # define gxdevndi_INCLUDED 23 24 #include "gxfrac.h" 25 26 #ifndef gx_device_halftone_DEFINED 27 # define gx_device_halftone_DEFINED 28 typedef struct gx_device_halftone_s gx_device_halftone; 29 #endif 30 31 /* Render a color, possibly by halftoning. */ 32 /* Return as for gx_render_[device_]gray. */ 33 int gx_render_device_color_devn(P10(frac red, frac green, frac blue, frac white, 34 bool cmyk, gx_color_value alpha, 35 gx_device_color * pdevc, gx_device * dev, 36 gx_device_halftone * pdht, 37 const gs_int_point * ht_phase)); 38 39 #endif /* gxdevndi_INCLUDED */ 40