🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6983

Re: ESPF

#6983
From: Edward J. Ede
Date: Mon, 14 Mar 1988 13:23
30 lines
1941 bytes
In article <AWCMg=y00hcqQ99lNJ@andrew.cmu.edu> mp1w+@ANDREW.CMU.EDU (Marc Russell Pawliger) writes:
>In the documents from Adobe about ESPF they say that the %%BoundingBox must be
>included in the prolog.  Do the lower-left and upper-right coordinates in the
>comment refer to absoulte bounding coordinates, or are they `relocatable'?

They are not relocatable.

>
>If I have a 2" x 3" graphic, can I give the coordinates as (0,0) and (600,900)
>[assuming 300 dpi], or do I have to give the coordinates where the graphic will

Think device independence.... Use points, not pixels.

>actually be drawn?  All the code for the graphic is relative-offset from the
>current point anyway...
>

The graphic should be placed at an absolute location.  With it fixed
in place the %%BoundingBox comment accurately describes its position
and size.  If you then want to include this image into another image,
you can use the BoundingBox info to do the appropriate translate,
scale, and rotate.  These three operators are all that you need to get
the included image in the right spot with the proper size and
orientation.  Its generally a good idea to put a save and restore
around the image.  A clip region may also come in handy.

Ted Ede -- ted@mitre-bedford.arpa -- The MITRE Corporation -- Burlington Road  
|        -- Bedford MA, 01730 -- Mail Stop B015 -- (617) 271-2524 --        |
|                   - this line intentionally left blank -                  |
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <26884@linus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!linus!mbunix!ted
References: <AWCMg=y00hcqQ99lNJ@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!linus!mbunix!ted
From: ted@mitre-bedford.ARPA (Edward J. Ede)
Newsgroups: comp.lang.postscript
Subject: Re: ESPF
Message-ID: <26884@linus.UUCP>
Date: 14 Mar 88 13:23:41 GMT
References: <AWCMg=y00hcqQ99lNJ@andrew.cmu.edu>
Sender: news@linus.UUCP
Reply-To: ted@mbunix (Ede)
Organization: The MITRE Corporation, Bedford, Mass.
Lines: 30