Code

Committed double code because of the hurry to let you use the axonom-snapping stuff.
[inkscape.git] / src / snap.h
index 8345da40d1d8805503144c6af02b5120020bea96..ff3da3adbcdc4f2f868ee9da7ab15465b664eca5 100644 (file)
@@ -3,13 +3,14 @@
 
 /**
  * \file snap.h
- * \brief Various snapping methods.
+ * \brief SnapManager class.
  *
  * Authors:
  *   Lauris Kaplinski <lauris@kaplinski.com>
  *   Frank Felfe <innerspace@iname.com>
  *   Carl Hetherington <inkscape@carlh.net>
  *
+ * Copyright (C) 2006      Johan Engelen <johan@shouraizou.nl>
  * 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<const Inkscape::Snapper*> SnapperList;
     SnapperList getSnappers() const;
 
+protected:
+    SPNamedView const *_named_view;
+
 private:
 
     enum Transformation {