[comp.sys.mac.programmer] simple PICT question

jolly@voyager.ece.cmu.edu (John Lee) (10/18/90)

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.