summaryrefslogtreecommitdiff
path: root/gs/src/gxdtfill.h
diff options
context:
space:
mode:
authorIgor Melichev <igor.melichev@artifex.com>2004-02-16 09:47:46 +0000
committerIgor Melichev <igor.melichev@artifex.com>2004-02-16 09:47:46 +0000
commit5012a83c2e5ca77fbcd49685d7672b64935fc250 (patch)
tree9b70de92edb910e12485921ee10aead70468ae96 /gs/src/gxdtfill.h
parent0a8894cd15cf5f84447516acc43be44e5a2ef4e9 (diff)
Improving the filling algorithm, step D5.
DETAILS : It's a preparation for fixing a problem while filling a single trapezoid. This change improved a debug drawing. EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4758 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gxdtfill.h')
-rw-r--r--gs/src/gxdtfill.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/src/gxdtfill.h b/gs/src/gxdtfill.h
index cb442e904..3fe1388ee 100644
--- a/gs/src/gxdtfill.h
+++ b/gs/src/gxdtfill.h
@@ -182,6 +182,7 @@ GX_FILL_TRAPEZOID(gx_device * dev, const gs_fixed_edge * left,
rxl = fixed2int_var(l.x);
rxr = fixed2int_var(r.x);
SET_MINIMAL_WIDTH(rxl, rxr, l, r);
+ VD_RECT_SWAPPED(rxl, ry, rxr, iy1);
code = FILL_TRAP_RECT(rxl, ry, rxr - rxl, iy1 - ry);
goto xit;
}