From 8f2c1dc45dee1da38a41386fee45feb5cce3718c Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 16 Oct 2006 09:40:03 +0000 Subject: hack*ahum*infrastructure to implement axonometric grid snapping. horizontal snapping already implemented. (bzr r1806) --- src/snap.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/snap.h') diff --git a/src/snap.h b/src/snap.h index ea833b0ec..ff3da3adb 100644 --- a/src/snap.h +++ b/src/snap.h @@ -10,6 +10,7 @@ * Frank Felfe * Carl Hetherington * + * Copyright (C) 2006 Johan Engelen * Copyright (C) 2000-2002 Lauris Kaplinski * * Released under GNU GPL, read the file 'COPYING' for more information @@ -99,13 +100,17 @@ public: NR::Point const &o, NR::Dim2 d) const; - Inkscape::GridSnapper grid; ///< grid snapper - Inkscape::GuideSnapper guide; ///< guide snapper - Inkscape::ObjectSnapper object; ///< snapper to other objects + Inkscape::GridSnapper grid; ///< grid snapper + Inkscape::AxonomGridSnapper axonomgrid; ///< axonometricgrid snapper + Inkscape::GuideSnapper guide; ///< guide snapper + Inkscape::ObjectSnapper object; ///< snapper to other objects typedef std::list SnapperList; SnapperList getSnappers() const; +protected: + SPNamedView const *_named_view; + private: enum Transformation { -- cgit v1.2.3