Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zooming and panning an image canvas

I have a silverlight Canvas which holds an image with drawings on it (polygons). I need to develop a control to zoom and pan this canvas within a work area (Border within a Grid cell, as of now) as shown below. What is the best way to do this. Is there any libraries I can make use of?

I need to be able to add drawings to the zoomed/panned canvas too.

enter image description here

like image 363
blitzkriegz Avatar asked Oct 20 '11 22:10

blitzkriegz


1 Answers

Lots of code examples available on the internet. Check out ZoomControl and CodePlex.

like image 124
Ryan Avatar answered Sep 22 '22 16:09

Ryan