Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ASC.SLB.COM!rxb From: rxb@ASC.SLB.COM (Rafael Bracho) Newsgroups: comp.windows.news Subject: Re: Nasty Bugs in X11/NeWS Message-ID: <8911102308.AA02131.rxb@plutonium.ASC.SLB.COM> Date: 11 Nov 89 23:55:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 39 Regarding your comment: >There appears to be a nasty bug in X11/NeWS. If you setcanvas to >some canvas, translate, create a path and then attempt to fill the >path, the whole canvas gets filled. Stroke also is affected, but >not as often as fill. Several programs seem to fail with this bug. I'm probably confused but the following code works just as you expect under X11/NeWS (my input is marked with '>'): plutionium- psh >executive Welcome to X11/NeWS Version 1.0 >framebuffer newcanvas >gsave >framebuffer setcanvas >50 50 translate >0 0 100 100 rectpath >dup reshapecanvas >stack canvas(0x491ad0,100x100,unmapped) >grestore >setcanvas >currentcanvas /Mapped true put >black setcolor >0 0 100 100 rectpath fill >white setcolor >20 20 translate >0 0 30 30 rectpath fill >currentcanvas /Mapped false put >grestore >quit psh: NeWS server disconnected plutonium- Am I missing something? Rafael Bracho rxb@asc.slb.com