summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/document.h b/src/document.h
index fff3289dd..99a887c6b 100644
--- a/src/document.h
+++ b/src/document.h
@@ -21,7 +21,7 @@
#include <sigc++/class_slot.h>
#include "libcroco/cr-cascade.h"
-#include <2geom/rect.h>
+#include <2geom/forward.h>
#include "gc-managed.h"
#include "gc-finalized.h"
@@ -41,10 +41,6 @@ struct SPItem;
struct SPObject;
struct SPGroup;
-namespace Geom {
- class Point;
-}
-
namespace Inkscape {
struct Application;
class Selection;
@@ -187,6 +183,7 @@ SPDocument *sp_document_create(Inkscape::XML::Document *rdoc, gchar const *uri,
gdouble sp_document_width (SPDocument * document);
gdouble sp_document_height (SPDocument * document);
+Geom::Point sp_document_dimensions (SPDocument * document);
struct SPUnit;