You probably have to find out the relative/absolute position of the
view to it's parent(s).
I I'm not mistaken there is a method that returns exactly that. Can't
remember which, check the docs for "View".

If you have applyed some sort of transformation (rotate, translate,
etc...) you will need to get the transformation Matrix from the View,
then reverse it, to be able to calc the original position.

On 26 mar, 12:56, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> How can I translate a view x,y pixel to a x,y pixel in the Bitmap?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to