Thanks for input.

Yeah I have already seen the Lunar Lander example. In this they rotate 
the canvas but In my app I have nearly 20 objects on the canvas. Out of 
20 objects I have to rotate only 10 alternative objects.  I don't like 
the approach of rotating canvas and invoke save and restore each time.

Can some one provide me an example of 
android.graphics.drawable.*RotateDrawable* class? How the current level 
value can be used to rotate another drawable objects?

Thanks again,
Ramesh



Jason Proctor wrote:
> i don't know whether this is what you're looking for, but Lunar 
> Lander has an example of drawing a rotated Drawable.
>
> hth
>
>
>   
>> create image using the bitmap
>> then use the Matrix and its preScle func..
>> and paasing this as a parameter u can create another bitmap..
>> like createBitmap(image,0,0,imahewidth,height,matrix,false)
>>
>> based on the prescale value it will give the transformed image
>>
>>
>>     
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to