summaryrefslogtreecommitdiff
path: root/pcl/pglfill.c
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1999-02-12 03:17:55 +0000
committerHenry Stiles <henry.stiles@artifex.com>1999-02-12 03:17:55 +0000
commita8308a93c562c3a422018c634afebd937dba000b (patch)
tree6dd788b2cc390393957c2ca706194ee0d6d9f694 /pcl/pglfill.c
parent5f04a9176cf2dbdd5e42c29b7078c48f3a007d52 (diff)
Improvement of fill line anchoring in gl/2. Now use gl/2's position
in user space instead of tracking device space position, which resulted in rounding errors when tranforming and doing comparisons. Label code updated to use gl/2 line drawing instead of using gs functions directly. Also we now draw the current path when the for relative/absolution mode changes in the pen. Updates Anomalies.txt to reflect changes. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@693 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pglfill.c')
-rw-r--r--pcl/pglfill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcl/pglfill.c b/pcl/pglfill.c
index ba0cf1264..8c5e94604 100644
--- a/pcl/pglfill.c
+++ b/pcl/pglfill.c
@@ -290,6 +290,9 @@ hpgl_LT(
hpgl_real_t length_or_percent = 4.0; /* units are mm or percentage */
int mode = 0;
+ /* set the offset this is not part of the command but is
+ used internally (see pgstate.h) */
+ pgls->g.line.current.pattern_offset = 0.0;
/* NB this is luny unreadable logic */
if ( (type < -8) ||
(type > 8) ||