Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / object-snapper.h
index f220106e389a73fc97a409322db5aaf6c834e908..baa60a096fdc392049dfb48664aad4bb3563c8cb 100644 (file)
@@ -53,13 +53,17 @@ public:
                GUIDE_TRANSL_SNAP_X, // For snapping a vertical guide (normal in the X-direction) to objects,
                GUIDE_TRANSL_SNAP_Y, // For snapping a horizontal guide (normal in the Y-direction) to objects
                ANGLED_GUIDE_TRANSL_SNAP, // For snapping an angled guide, while translating it accross the desktop
-               ANGLED_GUIDE_ROT_SNAP, // For snapping an angled guide, while rotating it around some pivot point
                TRANSL_SNAP_XY}; // All other cases; for snapping to objects, other than guides
 
-       void guideSnap(SnappedConstraints &sc,
+       void guideFreeSnap(SnappedConstraints &sc,
                                   Geom::Point const &p,
                                   Geom::Point const &guide_normal) const;
 
+       void guideConstrainedSnap(SnappedConstraints &sc,
+                                          Geom::Point const &p,
+                                          Geom::Point const &guide_normal,
+                                          ConstraintLine const &c) const;
+
        bool ThisSnapperMightSnap() const;
        bool GuidesMightSnap() const;