how to add scroll support for a canvas
Hi all,
I just to know how will i be able to add a scrolling support for my canvas.Any code snipplet or link will be very helpful.
Thanking you in advance
Sagar
Hi all,
I just to know how will i be able to add a scrolling support for my canvas.Any code snipplet or link will be very helpful.
Thanking you in advance
Sagar
no link, no code but a suggestion:
just redraw the canvas with a new x. for example, when you detect a down press, the new
base X of the canvas will be oldX - 10 ( for a scroll of 10 px)