Code

Leave constrained angular snapping to the snap manager, instead of handling it locally
[inkscape.git] / src / snap.h
index 0f27017a5619c403703f3a592120808da4cc9ce0..3c9af7d515ab84011a04af3ef0381087ca36547e 100644 (file)
@@ -138,6 +138,11 @@ public:
                                                         std::vector<Inkscape::Snapper::SnapConstraint> const &constraints,
                                                         Geom::OptRect const &bbox_to_snap = Geom::OptRect()) const;
 
+    Inkscape::SnappedPoint constrainedAngularSnap(Inkscape::SnapCandidatePoint const &p,
+                                                    boost::optional<Geom::Point> const &p_ref,
+                                                    Geom::Point const &o,
+                                                    unsigned const snaps) const;
+
     void guideFreeSnap(Geom::Point &p, Geom::Point const &guide_normal, SPGuideDragType drag_type) const;
     void guideConstrainedSnap(Geom::Point &p, SPGuide const &guideline) const;