I need a component which handles touch events and checks against a
number of masks to see which region encloses the touch.
Does such a component exist already?
I started working on implementing a simple version but am currently
hung up on how to read the value of a pixel from an image. Context:
I've got a background PNG image.
I've captured a touch on the image.
I'd like to look up the coordinates in one or more auxillary
bitmap images (masks) to see if
the user has clicked on a section of interest.
Any clues?
Many thanks in advance!
Ken
--
Ken Sedgwick
Bonsai Software, Inc.
http://www.bonsai.com/ken/
(510) 610-4162
[email protected]
Public Key: http://www.bonsai.com/ken/ken.asc
GPG Fingerprint: 851E 3B07 E586 0843 9434 5CC7 4033 3B9B 3F3F 9640
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---