Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: de%COMP.LANCS.AC.UK@cunyvm.cuny.edu (David England) Newsgroups: comp.sys.sun Subject: Re: need help with pw_copy Keywords: Windows Message-ID: <11663.8903091051@dcl-jupiter.comp.lancs.ac.uk> Date: 13 Mar 89 18:45:24 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 87 Approved: Sun-Spots@rice.edu Original-Date: Thu, 9 Mar 89 10:51:21 GMT X-Sun-Spots-Digest: Volume 7, Issue 194, message 4 of 15 I don't think you can pw_copy into a canvas pixrect - isn't it just a pointer with no memory allocated. Anyway, here's a program I gave to a student who was having similar probelms. It draws a line, then copies the canvas into a memory pirext and clears the canvas. Finally it copies back the saved pixrect. Dave de@comp.lancs.ac.uk #include #include #include #include #include