xref: /plan9/sys/src/cmd/gs/src/gslparam.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1995, 1997 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: gslparam.h,v 1.5 2004/07/29 17:46:38 igor Exp $ */
18 /* Line parameter definitions */
19 
20 #ifndef gslparam_INCLUDED
21 #  define gslparam_INCLUDED
22 
23 /* Line cap values */
24 typedef enum {
25     gs_cap_butt = 0,
26     gs_cap_round = 1,
27     gs_cap_square = 2,
28     gs_cap_triangle = 3,		/* not supported by PostScript */
29     gs_cap_unknown = 4
30 } gs_line_cap;
31 
32 #define gs_line_cap_max 3
33 
34 /* Line join values */
35 typedef enum {
36     gs_join_miter = 0,
37     gs_join_round = 1,
38     gs_join_bevel = 2,
39     gs_join_none = 3,		/* not supported by PostScript */
40     gs_join_triangle = 4,	/* not supported by PostScript */
41     gs_join_unknown = 5
42 } gs_line_join;
43 
44 #define gs_line_join_max 4
45 
46 #endif /* gslparam_INCLUDED */
47