Grid Based Canvas



Hi,
 I am currently working on a project that involves creating a 'canvas'
surface. The canvas will have grids, much like a graph paper. Whenever
the user clicks on one of the grid squares, that square will become
selected and the selection will be shown by highlighting the square.
 This is pretty basic stuff I know. But the canvas should also have the
ability to zoom in/out and scroll. This is the part that has got me
stumped. Any ideas how I could implement this? I have taken a look at
crcanvas, but I think that it is somewhat complicated for something as
simple as this.
 Any ideas on how I can implement this sort of functionality, or if it
is already available in some other open source project?
Thanks,
Jibran
-- 
JB -- I program, therefore I am...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]