xref: /plan9/sys/src/cmd/gs/src/gzline.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1989, 1995, 1996 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: gzline.h,v 1.5 2002/06/16 08:45:43 lpd Exp $ */
18 /* Line parameter implementation */
19 
20 #ifndef gzline_INCLUDED
21 #  define gzline_INCLUDED
22 
23 #include "gxline.h"
24 
25 /*
26  * The GC procedures are complex because we must not attempt to follow
27  * the pattern pointer iff the pattern size is 0.
28  */
29 #define private_st_line_params() /* in gsistate.c */\
30   gs_private_st_complex_only(st_line_params, gx_line_params, "line_params",\
31     0, line_params_enum_ptrs, line_params_reloc_ptrs, 0)
32 #define st_line_params_num_ptrs 1
33 
34 /* Internal accessor for line parameters in graphics state */
35 const gx_line_params *gs_currentlineparams(const gs_imager_state *);
36 
37 #endif /* gzline_INCLUDED */
38