summaryrefslogtreecommitdiffstats
path: root/src/snap.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/snap.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/snap.h')
-rw-r--r--src/snap.h11
1 files changed, 8 insertions, 3 deletions
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 <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 {