Reputation: 59
I'am doing FFT processing on .wav signal and draw it on Bitmap.
How it looks, when it is finished:
Is there any way to zoom this picture?
Upvotes: 0
Views: 432
Reputation: 7350
Here is some codes from my old projects which needs also scaling in onDraw, they might help you or not.
@Override
public void onDraw(Canvas canvas) {
super.onDraw(canvas);
canvas.save();
....
canvas.scale(mScaleFactor, mScaleFactor);
mIcon.draw(canvas);
canvas.restore();
}
Upvotes: 1