From 5420b476f4668b03f4ce169494792c78b3a3235d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 6 Jan 2015 13:37:55 +0100 Subject: Add getDocumentScale() to return "real-world" to "user-unit" scale factor. Use it to correct text postion after removing from path. (bzr r13843) --- src/document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/document.h') 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; -- cgit v1.2.3