summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-12-02 18:39:33 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-12-02 18:39:33 +0000
commit09e2f7b62d13537a0f006fc9953c533802fd9c12 (patch)
tree78c1a72538f0e60e38c3ca1845a909fcad53f394 /src/document.h
parentadding fussion improvements (diff)
parentExtensions. Fix for Bug #1192746 (e key does not start export on firefox [Jes... (diff)
downloadinkscape-09e2f7b62d13537a0f006fc9953c533802fd9c12.tar.gz
inkscape-09e2f7b62d13537a0f006fc9953c533802fd9c12.zip
update to trunk
(bzr r13708.1.4)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document.h b/src/document.h
index 4ace249ae..4a24ff502 100644
--- a/src/document.h
+++ b/src/document.h
@@ -38,7 +38,6 @@ class SPGroup;
class SPRoot;
namespace Inkscape {
- struct Application;
class Selection;
class UndoStackObserver;
class EventLog;
@@ -241,13 +240,14 @@ public:
SPDocument *doRef();
SPDocument *doUnref();
- Inkscape::Util::Unit const* getDefaultUnit() const;
+ Inkscape::Util::Unit const* getDisplayUnit() const;
+ Inkscape::Util::Unit const& getSVGUnit() const;
Inkscape::Util::Quantity getWidth() const;
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();