Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!rutgers!rochester!pt.cs.cmu.edu!OREO.GRAPHICS.CS.CMU.EDU!gleicher From: gleicher@CS.CMU.EDU (Michael Gleicher) Newsgroups: comp.lang.postscript Subject: Some simple questions Message-ID: Date: 28 Nov 90 04:17:26 GMT Sender: gleicher@OREO.GRAPHICS.CS.CMU.EDU Distribution: comp Organization: School of Computer Science, Carnegie Mellon University Lines: 27 I was hoping someone could answer some of these simple (I hope) questions: 1) is EPS defined somewhere? I'd like my program to be able to produce it, and I'd like to know what I need to do. 2) is it possible to set the line width in such a way that it isn't affected by the matrix? I am trying to print something as it looks on the screen, so I'd like my lines to be a constant width. (on an SGI Iris, the transformation matrix does nothing to the line width). 3) does anyone have postscript code which draws cardinal cubic splines? It would be neat to do right in postscript, but even some C or C++ code which takes vectors of numbers (control points) and produces a vector of control points of a postscript bezier. (I guess the bezier can only approximate the cardinal because of continuity conditions) Thanks for the help, Mike -- Michael Lee Gleicher gleicher@cs.cmu.edu ski bum, graphics hacker, and SCS PhD student Carnegie Mellon University, Pittsburgh, PA 15213-3890 (412) 268-7899 (school)