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: gxdhtres.h,v 1.5 2002/06/16 08:45:43 lpd Exp $ */ 18 /* Definitions for precompiled halftone resources */ 19 20 #ifndef gxdhtres_INCLUDED 21 # define gxdhtres_INCLUDED 22 23 #include "stdpre.h" 24 25 /* 26 * Precompiled halftones generated by genht #include this file. 27 */ 28 #ifndef gx_device_halftone_resource_DEFINED 29 # define gx_device_halftone_resource_DEFINED 30 typedef struct gx_device_halftone_resource_s gx_device_halftone_resource_t; 31 #endif 32 33 struct gx_device_halftone_resource_s { 34 const char *rname; 35 int HalftoneType; 36 int Width; 37 int Height; 38 int num_levels; 39 const unsigned int *levels; 40 const void *bit_data; 41 int elt_size; 42 }; 43 44 #define DEVICE_HALFTONE_RESOURCE_PROC(proc)\ 45 const gx_device_halftone_resource_t *const *proc(void) 46 47 #endif /* gxdhtres_INCLUDED */ 48