-
hello! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
SVGs are "scalable" so the units can mean whatever you like. The printed or displayed length of the drawing unit is determined by how the graphic is printed or displayed. Read this for more background. Note: drawSvg does not currently support units in width and height as described in that document. You could overwrite d = draw.Drawing(...)
d.width = "100mm"
d.height = ...
d.viewport = ... for example but this is not supported and may change or break in future versions. |
Beta Was this translation helpful? Give feedback.
SVGs are "scalable" so the units can mean whatever you like. The printed or displayed length of the drawing unit is determined by how the graphic is printed or displayed.
Read this for more background. Note: drawSvg does not currently support units in width and height as described in that document. You could overwrite
for example but this is not supported and may change or break in future versions.