1 /* Copyright (C) 2001-2019 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.,  1305 Grant Avenue - Suite 200, Novato,
13    CA 94945, U.S.A., +1(415)492-9861, for further information.
14 */
15 
16 
17 /* Client halftone type enumeration */
18 
19 #ifndef gxhttype_INCLUDED
20 #  define gxhttype_INCLUDED
21 
22 /* Halftone types */
23 typedef enum {
24     ht_type_none,		/* is this needed? */
25     ht_type_screen,		/* set by setscreen */
26     ht_type_colorscreen,	/* set by setcolorscreen */
27     ht_type_spot,		/* Type 1 halftone dictionary */
28     ht_type_threshold,		/* Type 3 halftone dictionary */
29     ht_type_threshold2,		/* Extended Type 3 halftone dictionary */
30                                 /* (Type 3 with either 8- or 16-bit */
31                                 /* samples, bytestring instead of string */
32                                 /* thresholds, and 1 or 2 rectangles) */
33     ht_type_multiple,		/* Type 5 halftone dictionary */
34     ht_type_multiple_colorscreen,  /* Type 5 halftone dictionary */
35                                 /* created from Type 2 or Type 4 */
36                                 /* halftone dictionary  */
37     ht_type_client_order	/* client-defined, creating a gx_ht_order */
38 } gs_halftone_type;
39 
40 #endif /* gxhttype_INCLUDED */
41