wineps: start a new path after CLIP_TO_PATH

Huw D M Davies h.davies1 at physics.ox.ac.uk
Wed May 12 06:43:12 CDT 2004


        Huw Davies <huw at codeweavers.com>
        The PostScript clip operator doesn't clear the current path,
        so after the CLIP_TO_PATH escape we want to clear it
        ourselves.
-- 
Huw Davies
huw at codeweavers.com
Index: dlls/wineps/escape.c
===================================================================
RCS file: /home/wine/wine/dlls/wineps/escape.c,v
retrieving revision 1.23
diff -u -r1.23 escape.c
--- dlls/wineps/escape.c	12 Feb 2004 20:05:22 -0000	1.23
+++ dlls/wineps/escape.c	12 May 2004 11:39:14 -0000
@@ -288,6 +288,7 @@
 	    TRACE("CLIP_TO_PATH: CLIP_INCLUSIVE\n");
 	    /* FIXME to clip or eoclip ? (see PATH_INFO.FillMode) */
 	    PSDRV_WriteClip(physDev);
+            PSDRV_WriteNewPath(physDev);
 	    return 1;
 	case CLIP_EXCLUSIVE:
 	    FIXME("CLIP_EXCLUSIVE: not implemented\n");



More information about the wine-patches mailing list