Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!uakari.primate.wisc.edu!ames!sun-barr!decwrl!wam.UMD.EDU!rick
From: rick@wam.UMD.EDU
Newsgroups: comp.sys.mac.programmer
Subject: Bitmap --> region code needed
Message-ID: <8909261258.AA01237@cscwam.UMD.EDU>
Date: 26 Sep 89 12:58:46 GMT
Distribution: usa
Organization: University of Maryland, College Park
Lines: 10

I hope someone can point me in the right direction.  I'm looking for code
(C, asm, or Pascal) that will convert a bitmap into a region (ie black pixels
included in region or vice versa for white pixels).
Public domain source would be nice but commercial source will also do.
I need to use a bitmap to mask a region while
drawing in much the same way that X uses bitmaps as clipping regions while
drawing.  Any help would be greatly appreciated. I think I may have seen some
discussion on this topic a while back in this newsgroup.  Thanx.

	rick@wam.umd.edu