Anyone ?
On Saturday, August 10, 2013 9:56:24 PM UTC+5:30, decode wrote:
I have my code as below :
canvas.drawBitmap(bitmap, src, dest,p); (p is null. using default paint,
src is null aswell)
src and dest are Rect
I am trying to flip the bitmap horizontally by using canvas.scale as
Keep in mind that the origin of a bitmap draw operation is the upper left
corner of the bitmap. So is the origin of canvas (unless you change it with
a transformation matrix).
When you tell canvas to render everything flipped horizontally and draw the
bitmap on the canvas at (0;0) the bitmap
2 matches
Mail list logo