Use save/restore with MATRIX_SAVE_FLAG flag. Before rotating the canvas you
save the current matrix and after the first bitmap is drawn you restore it.

On Wed, Aug 26, 2009 at 2:09 PM, Nithin <[email protected]> wrote:

>
> Hi,
>
> I have a View and that has a canvas. I am rotating the canvas, for
> rotating a bitmap. But after that, I need to draw one more bitmap on
> the Canvas and, this should not rotate. The second bitmap has to be
> static.
>
> I tried with matrix rotation for bitmap. But its not rotating in the
> specified co-ordinates.
>
> Open for all suggestions
>
> Thanks
> Nithin
> >
>

--~--~---------~--~----~------------~-------~--~----~
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