Seadragon Ajax uses a normalized coordinate system similar to Silverlight Deep Zoom, allowing application logic to remain independent of image resolution. The top-left of the image is always at the origin (0, 0) while the width of the image is always 1. The height of the image is dependant on the aspect ratio, so an image which is half as tall as it is wide will have a height of 0.5.
It's important to note that as you pan and zoom around an image, the viewport – not the image – is what moves. That is, the image's bounds in the normalized coordinate system are constant (as defined above), while the viewport's bounds are variable. This is again similar to Silverlight Deep Zoom.
To convert between normalized coordinates (points) and screen coordinates (pixels), you can use conversion functions defined in the Viewport class. We did this in the example below to show the position of your mouse and the dimensions of the viewport, in both pixels (relative to the viewer) and points. As always, you can learn more by checking out the