Path: utzoo!attcan!uunet!ogicse!uwm.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jarthur!mwilkins From: mwilkins@jarthur.Claremont.EDU (Mark Wilkins) Newsgroups: comp.sys.mac.programmer Subject: Re: Need help creating a Quickdraw picture Message-ID: <7358@jarthur.Claremont.EDU> Date: 1 Jun 90 10:05:39 GMT References: <2205@dftsrv.gsfc.nasa.gov> Organization: Harvey Mudd College, Claremont, CA 91711 Lines: 21 In article <2205@dftsrv.gsfc.nasa.gov> seiler@amarna.gsfc.nasa.gov writes: >CopyBits(&(windPtr->portBits), &(windPtr->portBits), > &(windPtr->portRect), &(windPtr->portRect), srcCopy, NULL); CopyBits just doesn't like it if the source and destination bitmaps are the same, and I THINK it doesn't like it if the same rectangle data structure is passed in both places. What you need to do is create an offscreen bitmap and copybits the data into the window. There are several Tech Notes available from Apple.com describing how to do just that. -- Mark Wilkins -- "According to our contract, at precisely midnight of the night of her greatest triumph, the party of the first part, (that's you), agrees to render up her soul, now and forevermore, to the party of the second part. (That's me). Shall we go?"