diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2006-07-18 20:42:50 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2006-07-18 20:42:50 +0000 |
commit | f59d06653c2c877dd7a594a870da22a5be7daddc (patch) | |
tree | 096c81fff730fd292538d1ff7b7dc251aa21b548 /pcl/pcdraw.c | |
parent | 544e5024b62fd9b059facedfee9e39e13803d6ba (diff) |
emulate binding of soft clip window to plotter units. Also cleans up
a few compiler warnings. Progressions expected in the following cet
files:
29-11.BIN
32-01.BIN
32-02.BIN
32-03.BIN
32-04.BIN
32-06.BIN
35-02.BIN
35-03.BIN
35-04.BIN
35-05.BIN
35-06.BIN
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2468 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcdraw.c')
-rw-r--r-- | pcl/pcdraw.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/pcl/pcdraw.c b/pcl/pcdraw.c index 687a7b0ee..172daf7f0 100644 --- a/pcl/pcdraw.c +++ b/pcl/pcdraw.c @@ -53,18 +53,10 @@ pcl_set_ctm( bool use_pd ) { - gs_setmatrix( pcs->pgs, - ( use_pd ? &(pcs->xfm_state.pd2dev_mtx) + return gs_setmatrix( pcs->pgs, + ( use_pd ? &(pcs->xfm_state.pd2dev_mtx) : &(pcs->xfm_state.lp2dev_mtx) ) - ); -#ifdef DEBUG - { - gs_matrix mcur, minv; - gs_currentmatrix(pcs->pgs, &mcur); - if (gs_matrix_invert(pcs->memory, &mcur, &minv) < 0) - dprintf(pcs->memory, "non-invertible matrix\n"); - } -#endif + ); } /* |