Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!hp-pcd!orstcs!orstcs2!snell From: snell@orstcs2.cs.ORST.EDU Newsgroups: comp.sys.mac Subject: Re: Writing to offscreen bitmaps; how t Message-ID: <216800022@orstcs2> Date: Thu, 7-May-87 12:32:00 EDT Article-I.D.: orstcs2.216800022 Posted: Thu May 7 12:32:00 1987 Date-Received: Sun, 10-May-87 05:40:48 EDT References: <18736@ucbvax.BERKELEY.EDU> Lines: 21 Nf-ID: #R:ucbvax.BERKELEY.EDU:-1873600:orstcs2:216800022:000:748 Nf-From: orstcs2.cs.ORST.EDU!snell May 7 09:32:00 1987 This what i am doing. 1. Put up a window 2. Use GetPicture 3. SetRect(destinationRectangle,leftnumber,topnumber,rightnumber,bottonnumber) the numbers in 3 are those numbers with respect to the window's own coor- dinate plane. 4. DrawPicture(ThePicture,destinationRectangle) 1b, or 2b I Can't remeber HLock(thePicture) 5. HUnLock(ThePicture) This will put the picture no matter what size it is, into the rectangle I specified in destinationRectangle. If leftnumber is 5 then the picture will begin 5 pixel over from the left edge of the window!! One note, I'm not sure if I recopied my code exactly, the HLock(thePicture) is what I used, but I might have placed it in the incorrect order. Vance Snell OSU A True Beaver Believer!!