summaryrefslogtreecommitdiffstats
path: root/src/snap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/snap.h')
-rw-r--r--src/snap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/snap.h b/src/snap.h
index 5290ef081..ba920510f 100644
--- a/src/snap.h
+++ b/src/snap.h
@@ -23,6 +23,7 @@
#include "guide-snapper.h"
#include "object-snapper.h"
#include "snap-preferences.h"
+//#include "sp-guide.h"
class SPNamedView;
@@ -98,7 +99,8 @@ public:
bool first_point = true,
Geom::OptRect const &bbox_to_snap = Geom::OptRect()) const;
- void guideSnap(Geom::Point &p, Geom::Point const &guide_normal) const;
+ void guideFreeSnap(Geom::Point &p, Geom::Point const &guide_normal) const;
+ void guideConstrainedSnap(Geom::Point &p, SPGuide const &guideline) const;
Inkscape::SnappedPoint freeSnapTranslation(Inkscape::SnapPreferences::PointType point_type,
std::vector<std::pair<Geom::Point, int> > const &p,