1 /* Copyright (C) 1998, 1999 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: gxp1impl.h,v 1.2.6.1.2.1 2003/01/17 00:49:04 giles Exp $ */
20 /* PatternType 1 implementation interface */
21 /* Requires gxpcolor.h */
22 
23 #ifndef gxp1impl_INCLUDED
24 #  define gxp1impl_INCLUDED
25 
26 /*
27  * Declare the filling algorithms implemented in gxp1fill.c.
28  * We use 'masked_fill_rect' instead of 'masked_fill_rectangle'
29  * in order to limit identifier lengths to 32 characters.
30  */
31 dev_color_proc_fill_rectangle(gx_dc_pattern_fill_rectangle);
32 dev_color_proc_fill_rectangle(gx_dc_pure_masked_fill_rect);
33 dev_color_proc_fill_rectangle(gx_dc_binary_masked_fill_rect);
34 dev_color_proc_fill_rectangle(gx_dc_colored_masked_fill_rect);
35 
36 /*
37  * Declare the Pattern color mapping procedures exported by gxpcmap.c.
38  */
39 int gx_pattern_load(P4(gx_device_color *, const gs_imager_state *,
40 		       gx_device *, gs_color_select_t));
41 pattern_proc_remap_color(gs_pattern1_remap_color);
42 
43 #endif /* gxp1impl_INCLUDED */
44