[comp.sys.mac.programmer] bitmap -> region

avjewe@cvl.umd.edu (Andrew Donaldson Jewell) (07/01/88)

I feel silly responding to my own message, but I just stumbled 
over Tech Note #193 :

There is a routine which you can license from Apple NOW
and will be in QuickDraw SOON.

FUNCTION BitMapRgn(region : RgnHandle; bMap : BitMap) : OSErr;

		or

pascal OSErr BitMapRgn(RgnHandle region, BitMap bMap);

Does exactly what I wanted, i.e. all the 1's are inside the region
and all the 0's are not.

		Andy Jewell
			avjewe@cvl.umd.edu

PS It might be the case that licensible version will only work with MPW.