On Fri, Mar 4, 2011 at 3:23 PM, lbendlin <[email protected]> wrote:

>  @Override
>    protected void dispatchDraw(Canvas canvas) {
>        canvas.save(Canvas.MATRIX_SAVE_FLAG);
>        super.dispatchDraw(canvas);
>        Log.v("This",""+getWidth());
>        canvas.scale(-1f,1f, getWidth() * 0.5f, getHeight() * 0.5f);
>        canvas.restore();
>    }
>

Shouldn't you be drawing *after* scaling the canvas? To apply the rendering
to the transformed matrix?

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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