Day: November 18, 2008

Nice post about Deep Zoom positioning

From the Silverlight SDK:

http://blogs.msdn.com/silverlight_sdk/archive/2008/11/18/using-viewportorigin-and-viewportwidth-in-deep-zoom.aspx

Although we’ve all got this worked out already, there’s some good illustrations, which always help to visualise how it works.

It’s a pity that they don’t go further into collection handling – that adds a further layer to the way the geometry is handled, as each subimage has its own ViewportWidth and ViewportOrigin and the way these interact with the parent image isn’t always obvious. I certainly had to work it all out by trial and error.

Advertisements