Hi,
Thanks for the reply.
However, it wasn't what I was asking.
The default behavior of the ImageView is to manipulate the image to
"Fit To Content".
The meaning of this behavior is that the image presented in the view
is automatically manipulated by the view.
The question is, how can figure out the manipulation the ImageView
performed on the image?

Gabriel.

On Mar 26, 10:59 pm, Rui Martins <[EMAIL PROTECTED]> wrote:
> 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 [email protected]
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