xref: /plan9/sys/src/cmd/gs/src/gxp1impl.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1998, 1999 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: gxp1impl.h,v 1.5 2002/06/16 08:45:43 lpd Exp $ */
18 /* PatternType 1 implementation interface */
19 /* Requires gxpcolor.h */
20 
21 #ifndef gxp1impl_INCLUDED
22 #  define gxp1impl_INCLUDED
23 
24 /*
25  * Declare the filling algorithms implemented in gxp1fill.c.
26  * We use 'masked_fill_rect' instead of 'masked_fill_rectangle'
27  * in order to limit identifier lengths to 32 characters.
28  */
29 dev_color_proc_fill_rectangle(gx_dc_pattern_fill_rectangle);
30 dev_color_proc_fill_rectangle(gx_dc_pure_masked_fill_rect);
31 dev_color_proc_fill_rectangle(gx_dc_binary_masked_fill_rect);
32 dev_color_proc_fill_rectangle(gx_dc_colored_masked_fill_rect);
33 
34 /*
35  * Declare the Pattern color mapping procedures exported by gxpcmap.c.
36  */
37 int gx_pattern_load(gx_device_color *, const gs_imager_state *,
38 		    gx_device *, gs_color_select_t);
39 pattern_proc_remap_color(gs_pattern1_remap_color);
40 
41 #endif /* gxp1impl_INCLUDED */
42