XML technologies / SVG / The coordinate system of SVG graphics / What is the coordinate system? / SVG offers more than one coordinate system

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

From the specified drawing area and viewport dimensions, the user agent determines an initial viewport coordinate system and an initial user coordinate system.

These systems are created so that the user coordinate system’s origin coincides with the viewport’s origin. One coordinate unit also corresponds to one pixel of the visible area.

The following graphic illustrates this. It superimposes the drawing area and viewport and marks the origin of both coordinate systems.

The coordinate system

Figure: The coordinate system.

   

 

 

 

back to top