summaryrefslogtreecommitdiffstats
path: root/src/grid-snapper.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2006-10-16 09:40:03 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2006-10-16 09:40:03 +0000
commit8f2c1dc45dee1da38a41386fee45feb5cce3718c (patch)
tree4507fa56f7f990f3ef3b9953b5a8033ee61fe0d2 /src/grid-snapper.h
parentanother canvas repaint optimization: if the new rect and the rect aborted las... (diff)
downloadinkscape-8f2c1dc45dee1da38a41386fee45feb5cce3718c.tar.gz
inkscape-8f2c1dc45dee1da38a41386fee45feb5cce3718c.zip
hack*ahum*infrastructure to implement axonometric grid snapping. horizontal snapping already implemented.
(bzr r1806)
Diffstat (limited to 'src/grid-snapper.h')
-rw-r--r--src/grid-snapper.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/grid-snapper.h b/src/grid-snapper.h
index 247823ac7..c664c5f9b 100644
--- a/src/grid-snapper.h
+++ b/src/grid-snapper.h
@@ -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
@@ -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;
+};
+
+
}