Thanks Kostya. it works.

So I everytime i onDraw(),

i will create new path() and of course .reset().

Thank you.

On Sep 12, 11:33 pm, Kostya Vasilyev <[email protected]> wrote:
> Seems like you apply transformations to mPath over and over again, without
> resetting. Try moving the code that constructs mPath so it gets created from
> scratch every time through, as a temporary test. If this works, consider
> keeping the path constant, applying the transform at canvas level.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> 12.09.2010 18:53 пользователь "dadada" <[email protected]> написал:
>
> thanks for your reply.
>
> I changed this part to
>
>        if (mValues != null) {
>               matrix.reset();
>
> matrix.setRotate(-mValues[0]);
> mPath.transform(matrix);}
>
> However, the transformation still goes infinitely. what should be the
> correct method ? thanks!
>
> On Sep 9, 6:08 am, Kostya Vasilyev <[email protected]> wrote:
>
> > Matrix transformation methods are...
> > 08.09.2010 15:19 пользователь "dadada" <[email protected]> написал:
>
> > hello all,
>
> > i used matrix to rotate instead of the canvas.
>
> > However, the result isn't what...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" g...

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