Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!apple.com!rmh From: rmh@apple.com (Rick Holzgrafe) Newsgroups: comp.sys.mac.programmer Subject: Re: Does anyone know how to concatenate PICTs together? Message-ID: <11026@goofy.Apple.COM> Date: 30 Oct 90 21:17:10 GMT References: <5429@quiche.cs.mcgill.ca> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 26 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. ========================================================================== Rick Holzgrafe | {sun,voder,nsc,mtxinu,dual}!apple!rmh Software Engineer | AppleLink HOLZGRAFE1 rmh@apple.com Apple Computer, Inc. | "All opinions expressed are mine, and do 20525 Mariani Ave. MS: 3-PK | not necessarily represent those of my Cupertino, CA 95014 | employer, Apple Computer Inc."