Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!munnari!otc!metro!ipso!runx!clubmac From: clubmac@runx.ips.oz (Macintosh Users Group) Newsgroups: comp.sys.mac.programmer Subject: Region problem Message-ID: <1973@runx.ips.oz> Date: 28 Jan 89 05:37:39 GMT Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 23 I want to set a region to the shape of a picture, so that when I use copyBits to blit it back from an offscreen bitmap it can mask the picture, thus protecting others already on screen. I have seen Pascal code from other programs like this.... aRgn := neRgn; openRgn; drawPicture(aPic,aPic^^.picFrame); closeRgn(aRgn); ....Except when I do it all I get back is an empty region. So how do I do what I want to do? Above message posted on behalf of John Maling, a member of our user group. Thanks in advance, Jason Haines - President, Club Mac Australia's largest Macintosh Users Group, with over 1500 members. Phone Home: 011-61-2-73-1016 OZ Post: Box 213, Holme Building, Sydney University, NSW, 2006, Australia Internet: clubmac@runx.ips.oz.au UUCP: uunet!runx.ips.oz.au!clubmac