xref: /plan9/sys/src/cmd/gs/src/gxhttype.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 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: gxhttype.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */
18 /* Client halftone type enumeration */
19 
20 #ifndef gxhttype_INCLUDED
21 #  define gxhttype_INCLUDED
22 
23 /* Halftone types */
24 typedef enum {
25     ht_type_none,		/* is this needed? */
26     ht_type_screen,		/* set by setscreen */
27     ht_type_colorscreen,	/* set by setcolorscreen */
28     ht_type_spot,		/* Type 1 halftone dictionary */
29     ht_type_threshold,		/* Type 3 halftone dictionary */
30     ht_type_threshold2,		/* Extended Type 3 halftone dictionary */
31 				/* (Type 3 with either 8- or 16-bit */
32 				/* samples, bytestring instead of string */
33 				/* thresholds, and 1 or 2 rectangles) */
34     ht_type_multiple,		/* Type 5 halftone dictionary */
35     ht_type_multiple_colorscreen,  /* Type 5 halftone dictionary */
36 				/* created from Type 2 or Type 4 */
37 				/* halftone dictionary  */
38     ht_type_client_order	/* client-defined, creating a gx_ht_order */
39 } gs_halftone_type;
40 
41 #endif /* gxhttype_INCLUDED */
42