summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-01-05 09:35:44 +0000
committertavmjong-free <tavmjong@free.fr>2015-01-05 09:35:44 +0000
commitf8ba98f4439051bc268013a5aa0b0e2a97a45303 (patch)
tree74c44cf15afb1856af20329259c7f62081751ecd /src/document.h
parentFix for Bug #1407326 (Typo (toogle) in filletchanferpoinarray.cpp). (diff)
downloadinkscape-f8ba98f4439051bc268013a5aa0b0e2a97a45303.tar.gz
inkscape-f8ba98f4439051bc268013a5aa0b0e2a97a45303.zip
Avoid calling root->updateRepr() twice when changing width and height.
(bzr r13837)
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 4a24ff502..d88670608 100644
--- a/src/document.h
+++ b/src/document.h
@@ -246,6 +246,7 @@ public:
Inkscape::Util::Quantity getHeight() const;
Geom::Point getDimensions() const;
Geom::OptRect preferredBounds() const;
+ void setWidthAndHeight(const Inkscape::Util::Quantity &width, const Inkscape::Util::Quantity &height, bool changeSize=true);
void setWidth(const Inkscape::Util::Quantity &width, bool changeSize=true);
void setHeight(const Inkscape::Util::Quantity &height, bool changeSize=true);
void setViewBox(const Geom::Rect &viewBox);