diff options
Diffstat (limited to 'src/document.h')
| -rw-r--r-- | src/document.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/document.h b/src/document.h index 63332f431..948b5b867 100644 --- a/src/document.h +++ b/src/document.h @@ -227,12 +227,13 @@ public: SPDocument *doRef(); SPDocument *doUnref(); - gdouble getWidth() const; - gdouble getHeight() 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 setViewBox(const Geom::Rect &viewBox); void requestModified(); gint ensureUpToDate(); bool addResource(const gchar *key, SPObject *object); |
