[comp.sys.mac] Writing to offscreen bitmaps; how t

snell@orstcs2.cs.ORST.EDU (05/07/87)

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!!