Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven!uvaarpa!murdoch!news From: pts@mendel.acc.Virginia.EDU (Paul T. Shannon) Newsgroups: comp.sys.next Subject: dspwrap without the appkit Message-ID: <1990Nov28.234910.28347@murdoch.acc.Virginia.EDU> Date: 28 Nov 90 23:49:10 GMT Sender: news@murdoch.acc.Virginia.EDU Distribution: na Organization: University of Virginia Lines: 22 Ireallyam: pts I'm looking for a simple program which shows how to use pswraps *outside* of the application kit and Interface Builder. I understand how to write postScript code, convert it to C using pswrap, and then compile and link to form an executable file. What I don't understand, however, is how to establish the proper context, which (I guess) is a connection between my program and the Display Postscript Interpreter. For those curious, or skeptical, I want to do this so that I can use the entire display, with as little interference and overhead as possible, to present full-screen visual stimuli for experiments in perceptual psychology. A good example of the sort of full-screen use I'm after is in the file /NextLibrary/Images/Scene_movies/snake.script.ps But what I'd like to do is to take that (or similar) postscript code, pswrap it, and run it from a fast-loading C program, rather than out of Preview. Can anyone help me on this? Thanks. - Paul Shannon pts@virginia.edu