Article View: comp.lang.postscript
Article #8865Uniform Coordinate Space (was Re: 72.27! etc.)
From: Stan Chesnutt
Date: Sat, 03 Feb 1990 20:34
Date: Sat, 03 Feb 1990 20:34
30 lines
2184 bytes
2184 bytes
In article <846@tuewsd.lso.win.tue.nl> wsinkees@lso.win.tue.nl (Kees Huizing) writes:
>glenn@heaven.woodside.ca.us (Glenn Reid) writes:
>
>> .352778 dup scale % I may have this inverted :-)
>
>>Now you can think in millimeters (or in your case, millimetres). The "point"
>>(or a close approximation thereof) was chosen for convenience to the
>>typesetting industry, to whom a 4.2334 millimeter font means nothing.
>
>This is NOT the way to do it, unfortunately. Everything will be scaled:
>linewidth, font sizes, etc.
>
Exactly. What the scale command does is give you a new system of measurement
for ALL objects (text, graphics) on the page. If I use Glenn Reid's scale
factor, then every position and size I specify will be in terms of that scale
factor. So, if the coordinate system is adjusted (via the scale command)
to the "true point size" (72.27) for text, that measurement will also apply
for everything else. Linewidths will be specified in this new system, movetos,
linetos, etc. Take a look at the Red Book pages 64-70 for a complete explanation
of scaling and other operations performed upon the coordinate space.
If a uniform scaling system (and thereby uniform measurement system) is
NOT what you want, please explain further in a follow-up exactly what
you are trying to do.
-----------------------------------------------------------------------------
Stan Chesnutt, Adobe Systems chesnutt@adobe.com {sun|decwrl}!adobe!chesnutt
the intersection of this posting and company policies is likely nil
Technical Details
Message-ID:
<1745@adobe.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!decwrl!adobe!chesnuttReferences:
<137@macuni.mqcc.mq.oz> <9001220213.aa05139@blackbox.gore.com> <152@macuni.mqcc.mq.oz> <128@heaven.COM> <846@tuewsd.lso.win.tue.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!decwrl!adobe!chesnutt From: chesnutt@adobe.com (Stan Chesnutt) Newsgroups: comp.lang.postscript Subject: Uniform Coordinate Space (was Re: 72.27! etc.) Message-ID: <1745@adobe.UUCP> Date: 3 Feb 90 20:34:30 GMT References: <137@macuni.mqcc.mq.oz> <9001220213.aa05139@blackbox.gore.com> <152@macuni.mqcc.mq.oz> <128@heaven.COM> <846@tuewsd.lso.win.tue.nl> Sender: news@adobe.COM Reply-To: chesnutt@adobe.COM (Stan Chesnutt) Organization: Adobe Systems Incorporated, Mountain View Lines: 30