🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3963

Re: Boundingbox???

#3963
From: Robert M. Fuhrer
Date: Wed, 07 Oct 1992 03:37
26 lines
1925 bytes
>  In article <1992Oct2.114504.26092@dsg.cs.tcd.ie> cjmchale@dsg.cs.tcd.ie (Ciaran McHale) writes:
> 
> 	  In <RMF.92Oct1203636@chopin.cs.columbia.edu> rmf@chopin.cs.columbia.edu
> 	  (Robert M. Fuhrer) writes:
> 
> 	  >[wants to be able to determine how big the output page is so PS
> 	  >programs can scale themselves to fill it]
> 
> 	  The default clipping path is the imagable area of the output page.
> 	  Simply call "clippath flattenpath pathbbox".
> 
>  Try to avoid doing such things UNLESS you are sure that noone will EVER try
>  and use this as an inserted figure.  If your graphics is included as an
>  EPS file somewhere this trick will kill any positioning and scaling done by
>  the enclosing PS code.  Most annoying that some reall applications produce
>  code just like this!  In defense, the application importing the PS has to
>  play games like changing the clipping path...

The idea was to be able to write postscript code that would "work" regardless
of the output medium. Therefore, I needed to be sure that such code could be
reasonably inserted (i.e., scaled and translated) in an output page. So the
included code would not have the "clippath flattenpath pathbbox", the including
code would.
--

-- Bob
Technical Details
Message-ID: <RMF.92Oct6223731@chopin.cs.columbia.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!gumby!destroyer!sol.ctr.columbia.edu!news.cs.columbia.edu!cs!rmf
References: <1992Sep30.135915.6102@donau.et.tudelft.nl> <RMF.92Oct1203636@chopin.cs.columbia.edu> <1992Oct2.114504.26092@dsg.cs.tcd.ie> <28903@life.ai.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!gumby!destroyer!sol.ctr.columbia.edu!news.cs.columbia.edu!cs!rmf
From: rmf@chopin.cs.columbia.edu (Robert M. Fuhrer)
Subject: Re: Boundingbox???
In-Reply-To: bkph@wheat-chex.ai.mit.edu's message of 6 Oct 92 13:20:14 GMT
Message-ID: <RMF.92Oct6223731@chopin.cs.columbia.edu>
Sender: news@cs.columbia.edu (The Daily News)
Organization: Computer Science Dept., Columbia Univ.
References: <1992Sep30.135915.6102@donau.et.tudelft.nl>
 <RMF.92Oct1203636@chopin.cs.columbia.edu>
 <1992Oct2.114504.26092@dsg.cs.tcd.ie> <28903@life.ai.mit.edu>
Date: Wed, 7 Oct 1992 03:37:31 GMT
Lines: 26