Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sgi!msc@ramoth.SGI.COM From: msc@ramoth.SGI.COM (Mark Callow) Newsgroups: comp.windows.news Subject: Re: width and height of canvases? Summary: how to get width and height Message-ID: <27144@sgi.SGI.COM> Date: 21 Feb 89 04:44:55 GMT References: <44718@philabs.Philips.Com> Sender: daemon@sgi.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 10 Here's how to I do it /Cover BeautyDir (back.im8) append readcanvas def % Calculate the aspect ratio of the image /Ratio Cover setcanvas clippath pathbbox div 3 1 roll pop pop def -- -Mark