Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!amdcad!sun!pitstop!sundc!seismo!uunet!munnari!natmlab!ronb From: ronb@natmlab.dms.oz (Ron Baxter) Newsgroups: comp.windows.news Subject: Re: NeWS on a SUN, bug in translate? Keywords: NeWS Message-ID: <2090@natmlab.dms.oz> Date: 8 Feb 88 15:06:18 GMT References: <539@modular.UUCP> Reply-To: ronb@natmlab.dms.oz.UUCP (Ron Baxter) Distribution: comp Organization: CSIRO Maths and Stats & Applied Physics, Sydney, Australia Lines: 24 In article <539@modular.UUCP> hagen@modular.UUCP (Jeff Hagen) writes: =RE: NeWS on Sun =Is there a limit to the size NeWS allows on the scale and translate functions? =For example, =% this draws a 45 degree line =gsave -10 -20 translate 10 20 moveto 82 92 lineto stroke grestore =% but this doesn't: =gsave -100000 -200000 translate 100000 200000 moveto 100144 200144 lineto =stroke grestore =This doesn't cause an error, but it seems to be ignored. =I found that translate on the order of 10000 will work as advertized. I have struck this one -- it goes wrong when the numbers go over 32000 (presumably 2^15). A translation happens, but th wrong one so if often disappears off the screen. Capter 13, under implementation limits quotes this limit but says that then the vaues are automatically converted to real. Apparently this is not happening in this case. -- Ron Baxter, CSIRO Div Maths & Stats, PO Box 218, Lindfield, NSW, Australia. PHONE: +61 2 467 6059 ACSNET: ronb@natmlab.oz ARPA: ronb@natmlab.oz.aus