summaryrefslogtreecommitdiffstats
path: root/src/snap.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-11-07 20:16:45 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-11-07 20:16:45 +0000
commitcd2ff7c27f5809358e151eba391b8f9d85b1eea1 (patch)
tree00e79628d57b3c0535cfa042ba93c497e4b6efe0 /src/snap.h
parenti18n. Fixed palette makefile (see Bug #672228 can't compile: missing palettes... (diff)
downloadinkscape-cd2ff7c27f5809358e151eba391b8f9d85b1eea1.tar.gz
inkscape-cd2ff7c27f5809358e151eba391b8f9d85b1eea1.zip
Leave constrained angular snapping to the snap manager, instead of handling it locally
(bzr r9880)
Diffstat (limited to 'src/snap.h')
-rw-r--r--src/snap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/snap.h b/src/snap.h
index 0f27017a5..3c9af7d51 100644
--- a/src/snap.h
+++ b/src/snap.h
@@ -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;