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