Nope, didnt work
On Jun 2, 3:42 pm, skink <[email protected]> wrote:
> On 2 Cze, 15:45, z <[email protected]> wrote:
>
> > That did the trick, thanks
>
> > for those who are looking to do the same, here are the codes
>
> > Matrix matrix = canvas.getMatrix();
> > matrix.postRotate(180, icon.getWidth()/2, icon.getHeight()/2);
> > matrix.postScale(-1, 1);
> > matrix.postTranslate(icon.getWidth(), 0);
> > canvas.concat(matrix);
> > canvas.translate(0,-icon.getHeight());
>
> what about this:
>
> Canvas c = new Canvas(reflectionBitmap);
> c.scale(1, -1);
> c.drawBitmap(orig, 0, -orig.getHeight(), null);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---