Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!elroy.jpl.nasa.gov!ncar!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Re: Does anyone know how to concatenate PICTs together? Message-ID: <29485.27342F47@stjhmc.fidonet.org> Date: 4 Nov 90 14:53:33 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 30 >> In article <5429@quiche.cs.mcgill.ca> monching@quiche.cs.mcgill.ca > (Patrick WONG) writes: > > I need to concatenate two PICTs together. I wish to program a unit in > either > > in pascal or c. There would be two PicHandles. The routine would have > to > > return a PicHandle with the first PICT in the background and the second > PICT > > in the foreground. > > Try: > PicHandle combinedPictsHandle; > combinedPictsHandle = OpenPicture(&combinedPictsFrame); > DrawPicture (picHandle1, &picFrame1); > DrawPicture (picHandle2, &picFrame2); > ClosePicture(); > > I haven't tried it myself, but I don't know why it wouldn't work. Hope it > helps. I do that it a program and it does work. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org