Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!nosc!crash!kevin@crash.cts.com From: kevin@crash.cts.com (Kevin Hill) Newsgroups: comp.sys.mac.programmer Subject: CopyBits Keywords: CopyBits, C Message-ID: <6807@crash.cts.com> Date: 9 Jan 91 03:51:15 GMT Sender: root@crash.cts.com Lines: 16 icon = GetIcon(id); SetRect(&box,0+x,0+y,32+x,32+y); themap1.baseAddr = (QDPtr)icon; themap1.rowBytes = 4; SetRect(&themap1.bounds,0,0,32,32); CopyMask(&themap1,&thewind->portBits,&themap1.bounds,&box,0,NULL); This is part of a program that I am making. I am currently trying to make a routine that will put icons in the window, under the SrcOr mode, and CopyBits is the only routine that looks like it will let me do that. PlotIcon, plotted the icon with no Or, And etc. type copying to the window. The above, does not seem to work. Could anyone out there shed some light on the issue for me? Please e-mail me a reply. Thank you.