Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!slxsys!dircon!uad1077 From: uad1077@dircon.uucp Newsgroups: comp.windows.news Subject: Re: Scaling Message-ID: <1990Jun5.180612.1441@dircon.uucp> Date: 5 Jun 90 18:06:12 GMT References: <136546@sun.Eng.Sun.COM> Organization: The Direct Connection, UK Lines: 29 Actually, you can do it, depending on your PostScript interpreter. If you have a procedure like x1 y1 xfm => x2 y2 (which is the case for most useful non-linear transformations) then you can just shovel everything through `pathforall'. (well, everything except text, that is!) On my laser printer, pathforall just appends any new points I add to the path to the one I'm trying to distort, so it goes very quiet, and then after a few minutes I get a limitcheck... On my window manager, pathforall goes through the same code that `stroke' does though, so it actually produces a finite path, and has the desired effect. I think it's a case of taking pot luck (and your courage in both hands) if you want to try it on NeWS... Interesting question: basically this is the 2D ananlogue of the way that Renderman achieves non-linear transformations. DO I treat the departure of my PostScript from true POstScript which allows this to happen as a bug or an enhancement? :-) "Computer oxymorons #1: operating system" -- Ian D. Kemmish Tel. +44 767 601 361 18 Durham Close uad1077@dircon.UUCP Biggleswade ukc!dircon!uad1077 Beds SG18 8HZ United Kingdom