"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/gxfilltr.h" between
ghostscript-9.26.tar.xz and ghostscript-9.27.tar.xz

About: Ghostscript is an interpreter and rendering engine for the PostScript language and for PDF (GPL release).

gxfilltr.h  (ghostscript-9.26.tar.xz):gxfilltr.h  (ghostscript-9.27.tar.xz)
/* Copyright (C) 2001-2018 Artifex Software, Inc. /* Copyright (C) 2001-2019 Artifex Software, Inc.
All Rights Reserved. All Rights Reserved.
This software is provided AS-IS with no warranty, either express or This software is provided AS-IS with no warranty, either express or
implied. implied.
This software is distributed under license and may not be copied, This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution. of the license contained in the file LICENSE in this distribution.
Refer to licensing information at http://www.artifex.com or contact Refer to licensing information at http://www.artifex.com or contact
skipping to change at line 32 skipping to change at line 32
* *
* IS_SPOTAN - is the target device a spot analyzer ("spotan"). * IS_SPOTAN - is the target device a spot analyzer ("spotan").
* SMART_WINDING - even-odd filling rule for each contour independently. * SMART_WINDING - even-odd filling rule for each contour independently.
* FILL_ADJUST - fill adjustment is not zero * FILL_ADJUST - fill adjustment is not zero
* FILL_DIRECT - See LOOP_FILL_RECTANGLE_DIRECT. * FILL_DIRECT - See LOOP_FILL_RECTANGLE_DIRECT.
* TEMPLATE_spot_into_trapezoids - the name of the procedure to generate. * TEMPLATE_spot_into_trapezoids - the name of the procedure to generate.
* ADVANCE_WINDING(inside, alp, ll) - a macro for advancing the winding counter . * ADVANCE_WINDING(inside, alp, ll) - a macro for advancing the winding counter .
* INSIDE_PATH_P(inside, rule) - a macro for checking the winding rule. * INSIDE_PATH_P(inside, rule) - a macro for checking the winding rule.
*/ */
#if defined(TEMPLATE_spot_into_trapezoids) && defined(INCR) && defined(FILL_ADJU
ST) && defined(LOOP_FILL_RECTANGLE_DIRECT) && defined(COVERING_PIXEL_CENTERS)
/* ---------------- Trapezoid decomposition loop ---------------- */ /* ---------------- Trapezoid decomposition loop ---------------- */
/* Takes lines off of y_list and adds them to */ /* Takes lines off of y_list and adds them to */
/* x_list as needed. band_mask limits the size of each band, */ /* x_list as needed. band_mask limits the size of each band, */
/* by requiring that ((y1 - 1) & band_mask) == (y0 & band_mask). */ /* by requiring that ((y1 - 1) & band_mask) == (y0 & band_mask). */
static int static int
TEMPLATE_spot_into_trapezoids (line_list *ll, fixed band_mask) TEMPLATE_spot_into_trapezoids (line_list *ll, fixed band_mask)
{ {
const fill_options fo = *ll->fo; const fill_options fo = *ll->fo;
int rule = fo.rule; int rule = fo.rule;
skipping to change at line 273 skipping to change at line 275
} }
code = move_al_by_y(ll, y1); code = move_al_by_y(ll, y1);
if (code < 0) if (code < 0)
return code; return code;
ll->h_list1 = ll->h_list0; ll->h_list1 = ll->h_list0;
ll->h_list0 = 0; ll->h_list0 = 0;
y = y1; y = y1;
} }
return 0; return 0;
} }
#else
int dummy;
#endif
 End of changes. 3 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)