1 /* Copyright (C) 1997, 1998 artofcode LLC.  All rights reserved.
2 
3   This program is free software; you can redistribute it and/or modify it
4   under the terms of the GNU General Public License as published by the
5   Free Software Foundation; either version 2 of the License, or (at your
6   option) any later version.
7 
8   This program is distributed in the hope that it will be useful, but
9   WITHOUT ANY WARRANTY; without even the implied warranty of
10   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11   General Public License for more details.
12 
13   You should have received a copy of the GNU General Public License along
14   with this program; if not, write to the Free Software Foundation, Inc.,
15   59 Temple Place, Suite 330, Boston, MA, 02111-1307.
16 
17 */
18 
19 /*$Id: gxhttype.h,v 1.2.6.1.2.1 2003/01/17 00:49:03 giles Exp $ */
20 /* Client halftone type enumeration */
21 
22 #ifndef gxhttype_INCLUDED
23 #  define gxhttype_INCLUDED
24 
25 /* Halftone types */
26 typedef enum {
27     ht_type_none,		/* is this needed? */
28     ht_type_screen,		/* set by setscreen */
29     ht_type_colorscreen,	/* set by setcolorscreen */
30     ht_type_spot,		/* Type 1 halftone dictionary */
31     ht_type_threshold,		/* Type 3 halftone dictionary */
32     ht_type_threshold2,		/* Extended Type 3 halftone dictionary */
33 				/* (Type 3 with either 8- or 16-bit */
34 				/* samples, bytestring instead of string */
35 				/* thresholds, and 1 or 2 rectangles) */
36     ht_type_multiple,		/* Type 5 halftone dictionary */
37     ht_type_multiple_colorscreen,  /* Type 5 halftone dictionary */
38 				/* created from Type 2 or Type 4 */
39 				/* halftone dictionary  */
40     ht_type_client_order	/* client-defined, creating a gx_ht_order */
41 } gs_halftone_type;
42 
43 #endif /* gxhttype_INCLUDED */
44