1 /* Copyright (C) 2001-2012 Artifex Software, Inc.
2    All Rights Reserved.
3 
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6 
7    This software is distributed under license and may not be copied,
8    modified or distributed except as expressly authorized under the terms
9    of the license contained in the file LICENSE in this distribution.
10 
11    Refer to licensing information at http://www.artifex.com or contact
12    Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134, San Rafael,
13    CA  94903, U.S.A., +1(415)492-9861, for further information.
14 */
15 
16 /* Prototypes of some polygon and image drawing procedures */
17 
18 #ifndef gdevddrw_INCLUDED
19 #  define gdevddrw_INCLUDED
20 
21 enum fill_trap_flags {
22     ftf_peak0 = 1,
23     ftf_peak1 = 2,
24     ftf_pseudo_rasterization = 4
25 };
26 
27 int gx_fill_trapezoid_cf_fd(gx_device * dev, const gs_fixed_edge * left,
28     const gs_fixed_edge * right, fixed ybot, fixed ytop, int flags,
29     const gx_device_color * pdevc, gs_logical_operation_t lop);
30 int gx_fill_trapezoid_cf_nd(gx_device * dev, const gs_fixed_edge * left,
31     const gs_fixed_edge * right, fixed ybot, fixed ytop, int flags,
32     const gx_device_color * pdevc, gs_logical_operation_t lop);
33 
34 #endif /* gdevddrw_INCLUDED */
35