Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!rutgers!rochester!pt.cs.cmu.edu!jolly From: jolly@voyager.ece.cmu.edu (John Lee) Newsgroups: comp.sys.mac.programmer Subject: simple PICT question Message-ID: Date: 18 Oct 90 02:10:51 GMT Distribution: comp Organization: Carnegie Mellon University Lines: 21 I want to write a PICT driver for a plotting package that is on some unix workstations. This would allow me to include plots directly into something like Powerpoint. I have a kludgy program to generate the PICT that works fine for everything but text. I am not issuing the correct quickdraw commands or not passing data along correctly, as 'macdraw ii' will hang when reading a PICT file that I generate that has text in the plot. For example, say that "foo bar" should be printed at coordinates (100,100) in times 12 pt. What is a correct quickdraw calling sequence? Since this is in a PICT file, a byte by byte description would be ideal! Either sample code, or a PICT fragment would be greatly appreciated. Since I do not subscribe to this bboard, please respond to 'jolly@voyager.ece.cmu.edu' Much thanks in advance! John.