summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-11-23 20:58:57 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-11-23 20:58:57 +0000
commitc93948dfbffd855360c6f97438e001ed6a6c61d0 (patch)
tree1fdc5661c2ffe4c95e0a6b48f19442344e306393 /src/ui/tool/node.cpp
parenti18n. Fix for Bug #1388916 (There seem to be untranslatable strings in MapSym... (diff)
downloadinkscape-c93948dfbffd855360c6f97438e001ed6a6c61d0.tar.gz
inkscape-c93948dfbffd855360c6f97438e001ed6a6c61d0.zip
Extensions: try to calculate the SVG unit
We cannot use inkscape:document-unit for the SVG unit, because it specifies the UI display unit in Inkscape and is unrelated to the units used for SVG values. Instead, the real units of the SVG values is defined by document height/width and the viewbox. The calculation assumes isotropic units (give me a break!) and only looks at the width. It tries to match that with a list of known units. If no match found: assume 'px' units. Finds 'px' units for legacy Inkscape documents without viewbox. (bzr r13750)
Diffstat (limited to 'src/ui/tool/node.cpp')
0 files changed, 0 insertions, 0 deletions