HI,
Trying to write a mirror image of some text.
I created a new widget derived from TextView and the overridden
onDraw(Canvas canvas) looks like
@Override
protected void onDraw(Canvas canvas) {
canvas.scale(-1.0f, 1.0f);
super.onDraw(canvas);
}
I would expect to see the text flipped around the x axis (mirror
effect) but nothing shows up...
canvas.scale(1.0f, 1.0f) show the text as expected... what is wrong
with that code?
Thanks
Stephane
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---