Does anyone know any resources for advanced bitmap analysis with a flex app.  I'm looking through the Bitmap Class but I'm a little in over my head on the algorithms side.  There are two things I'm trying to do.

First, how can I tell if one object (objects defined by what is drawn not the bounding rectangle) is completely overlapped/inside by another.  (I'm not asking about parent/child relationship, I'm asking about visual representation).  Put another way, I'm looking for a hitTest function/algorithm that tests if every pixel hits another supplied object, instead of simply at least one pixel hitting it.

Second, assuming the first question is found to be true, how can I get the list of pixels from the larger object that overlaps the visual border (remember the border could be arbitrarily shaped) of the small object.  One possibly useful simplifying assumption here is that the larger object is only a single pixel thick border.

I know these questions are a little in depth, so I'm not expecting a complete solution (although I'd take it), so can anyone point me in the right direction (tutorials, examples, utility classes, etc)?

- Dan
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to