I'm just curious if anybody knows how
viewBox values (i.e.
viewBox="a b c d") are determined.
I'm trying to understand Inkscape's SVG functionality, so what I've done is created a document in Inkscape that is
100px, drawn a line from the left side of the viewport (i.e.
0 horizontal value) to the right side (i.e.
100 horizontal value).
Strangely, however, when I save this document as a Plain SVG file, and then open the file in a text editor, the
viewBox values are set to
viewBox="0 0 26.458333 26.458334" instead of, say,
viewBox="0 0 100 100".
Does anybody know how these values (
0 0 26.458333 26.458334) are determined, and why there is seemingly no relation between them and the viewport dimensions?
P.S. I know you can edit the
viewBox property manually in the document options, but I'm still curious as to why Inkscape sets them to funky values.