Reputation: 134
I have a Bitmap object that I want to draw on canvas with some Matrix transformation. I'm using
canvas.drawBitmap(myBitmap, myMatrix, null);
Does such drawing effects object myBitmap? In other words, drawing after that (transformed drawing) myBitmap, without myMatrix, will it be drawn without any transformation? or will it have that former transformation?
Upvotes: 0
Views: 198
Reputation: 116402
Drawing on the bitmap will only occur by giving the bitmap to the CTOR of the canvas .
drawBitmap won't change the bitmap given in the parameters.
Upvotes: 1