summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-03-21 11:41:01 +0000
committertavmjong-free <tavmjong@free.fr>2015-03-21 11:41:01 +0000
commit034b578ef602f2095374800a8c967b1b6e5c21dd (patch)
tree53931409cffc58cf5bae840223accf241dc8962f /src/document.h
parentsp. fix seperate (diff)
downloadinkscape-034b578ef602f2095374800a8c967b1b6e5c21dd.tar.gz
inkscape-034b578ef602f2095374800a8c967b1b6e5c21dd.zip
Add GUI for 'viewBox'.
(bzr r14022)
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 ed19d123b..74dcfa75e 100644
--- a/src/document.h
+++ b/src/document.h
@@ -247,6 +247,7 @@ public:
Geom::Scale getDocumentScale() const;
Inkscape::Util::Quantity getWidth() const;
Inkscape::Util::Quantity getHeight() const;
+ Geom::Rect getViewBox() const;
Geom::Point getDimensions() const;
Geom::OptRect preferredBounds() const;
void setWidthAndHeight(const Inkscape::Util::Quantity &width, const Inkscape::Util::Quantity &height, bool changeSize=true);