summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2014-11-28 20:54:41 +0000
committerapenner <penner@vaxxine.com>2014-11-28 20:54:41 +0000
commit561b8791651a0b3f9d49dfd9809519f06039e0a4 (patch)
treeeda7c9f819d13cbb691be35d5870211e5848ee5e /src/document.h
parentDutch translation update (diff)
downloadinkscape-561b8791651a0b3f9d49dfd9809519f06039e0a4.tar.gz
inkscape-561b8791651a0b3f9d49dfd9809519f06039e0a4.zip
avoid recalculating viewbox if it is not necessary. (Bug 1384915, comment 24)
Fixed bugs: - https://launchpad.net/bugs/1384915 (bzr r13776)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.h b/src/document.h
index 287228a67..4a24ff502 100644
--- a/src/document.h
+++ b/src/document.h
@@ -246,8 +246,8 @@ public:
Inkscape::Util::Quantity getHeight() const;
Geom::Point getDimensions() const;
Geom::OptRect preferredBounds() const;
- void setWidth(const Inkscape::Util::Quantity &width);
- void setHeight(const Inkscape::Util::Quantity &height);
+ 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);
void requestModified();
int ensureUpToDate();