summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-01-06 12:37:55 +0000
committertavmjong-free <tavmjong@free.fr>2015-01-06 12:37:55 +0000
commit5420b476f4668b03f4ce169494792c78b3a3235d (patch)
treeeb9e294469079afe8ace1c2809e0b41815d75b49 /src/document.h
parentUI/i18n. Fixing inconsistencies in the Fillet/Chamfer LPE dialogs. (diff)
downloadinkscape-5420b476f4668b03f4ce169494792c78b3a3235d.tar.gz
inkscape-5420b476f4668b03f4ce169494792c78b3a3235d.zip
Add getDocumentScale() to return "real-world" to "user-unit" scale factor.
Use it to correct text postion after removing from path. (bzr r13843)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index d88670608..22c341eae 100644
--- a/src/document.h
+++ b/src/document.h
@@ -242,6 +242,7 @@ public:
SPDocument *doUnref();
Inkscape::Util::Unit const* getDisplayUnit() const;
Inkscape::Util::Unit const& getSVGUnit() const;
+ Geom::Scale getDocumentScale() const;
Inkscape::Util::Quantity getWidth() const;
Inkscape::Util::Quantity getHeight() const;
Geom::Point getDimensions() const;