Code

Disabling transientize callback - it's currently causing some data loss
[inkscape.git] / src / grid-snapper.h
index 247823ac7738cb4cb022a86ffc0b08f13a4a4f68..1a3e6d3a8619203dfaffd6eb8ef2176daf08dc61 100644 (file)
@@ -10,6 +10,7 @@
  *   Frank Felfe <innerspace@iname.com>
  *   Carl Hetherington <inkscape@carlh.net>
  *
+ * Copyright (C) 2006      Johan Engelen <johan@shouraizou.nl>
  * Copyright (C) 1999-2002 Authors 
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
@@ -20,7 +21,7 @@
 namespace Inkscape
 {
 
-/// Snap to grid
+/// Normal 2D grid
 class GridSnapper : public LineSnapper
 {
 public:
@@ -28,7 +29,19 @@ public:
 
 private:    
     LineList _getSnapLines(NR::Point const &p) const;
-};
+};           
+
+
+class AxonomGridSnapper : public LineSnapper
+{
+public:
+    AxonomGridSnapper(SPNamedView const *nv, NR::Coord const d);
+
+private:    
+    LineList _getSnapLines(NR::Point const &p) const;
+};           
+
+
 
 }