svg的座標變換有三個屬性來決定:viewport, viewBox, 和 preserveAspectRatio,我發現三篇比較詳細的博客,轉載以下:html
viewport
viewBox
preserveAspectRatio
理解SVG座標系和變換:視窗,viewBox和preserveAspectRatio:http://www.w3cplus.com/html5/svg-coordinate-systems.htmlhtml5