diff options
Diffstat (limited to 'src/common-context.cpp')
| -rw-r--r-- | src/common-context.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common-context.cpp b/src/common-context.cpp index 2155f9739..e896d0829 100644 --- a/src/common-context.cpp +++ b/src/common-context.cpp @@ -19,8 +19,12 @@ #define DRAG_DEFAULT 1.0 #define DRAG_MAX 1.0 +namespace Inkscape { +namespace UI { +namespace Tools { + SPCommonContext::SPCommonContext() : - SPEventContext(), + ToolBase(), accumulated(NULL), segments(NULL), currentshape(NULL), @@ -142,6 +146,10 @@ Geom::Point SPCommonContext::getViewPoint(Geom::Point n) const { return Geom::Point(n[Geom::X] * max + drect.min()[Geom::X], n[Geom::Y] * max + drect.min()[Geom::Y]); } +} +} +} + /* Local Variables: mode:c++ |
