🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2390

Moving the user space origin

#2390
From: Ralph Marshall
Date: Wed, 27 Jun 1990 13:29
25 lines
1827 bytes
	I'm trying to write a general-purpose graph rendering tool
that does a bunch of device-independent calculations and then has a
small portion of device-specific code that emits the appropriate
primitives for the display of choice.  So far I'm working with the
Garnet graphic system (from Carnegie-Mellon) and PostScript as the
output devices to be tested.  The problem I've encountered is that
Garnet is relatively stupid and wants to have the origin in the upper
left corner, which is obviously not what PostScript thinks.  Now, I'm
a semi-accomplished PostScript programmer, so I thought I'd have
better luck trying to change PostScript's idea of up and down and
leave the rest of the code the same.  However, I gone through all of
the obvious (to me) translation/scaling combinations and have
succeeded generating in a number of interesting but not useful pages,
including one that had the entire graph rendered perfectly, as long as
you held it in front of a mirror.

	So, the question is: is there some way to do this that I'm
missing, of is is just not possible?  I have already changed the code
I'm writing to generate landscape rather than portrait output, so I
know that at least some of these changes will work properly.  If
anybody has any suggestions, I'd appreciate hearing about it.

Ralph Marshall
marsh@linus.mitre.org
Technical Details
Message-ID: <111891@linus.mitre.org>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!apple!snorkelwacker!spdcc!merk!alliant!linus!marsh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!apple!snorkelwacker!spdcc!merk!alliant!linus!marsh
From: marsh@linus.mitre.org (Ralph Marshall)
Newsgroups: comp.lang.postscript
Subject: Moving the user space origin
Summary: I'm stumped
Message-ID: <111891@linus.mitre.org>
Date: 27 Jun 90 13:29:02 GMT
Reply-To: marsh@mitre.org (Ralph Marshall 617 271-8784)
Organization: The MITRE Corporation, Bedford MA
Lines: 25