diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2005-01-06 19:48:40 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2005-01-06 19:48:40 +0000 |
commit | 15e0222d1ea6b3f869dc00d806d66ef640730924 (patch) | |
tree | 54b74ed37207204fbaafc2a2097f668adaf6804b /pcl | |
parent | 272e33bf47849dee53bd7f6164fe245c55d726d1 (diff) |
FT[34] did not properly mark the page as dirty if the source was
transparent.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2192 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pgdraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcl/pgdraw.c b/pcl/pgdraw.c index f838ab377..8a41f1e96 100644 --- a/pcl/pgdraw.c +++ b/pcl/pgdraw.c @@ -814,15 +814,15 @@ hpgl_polyfill( private int hpgl_fill_polyfill_background(hpgl_state_t *pgls) { + /* conditionally mark page as dirty */ + pcl_mark_page_for_path(pgls); /* if we are drawing on a transparent background */ if ( pgls->g.source_transparent ) return 0; /* preserve the current foreground color */ hpgl_call(hpgl_gsave(pgls)); - /* fill a white region. NB have not experimented with different - rasterops and transparency. */ + /* fill a white region. */ hpgl_call(gs_setgray(pgls->pgs, 1.0)); - pcl_mark_page_for_path(pgls); hpgl_call(gs_fill(pgls->pgs)); /* restore the foreground color */ hpgl_call(hpgl_grestore(pgls)); |