diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-11-07 20:16:45 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-11-07 20:16:45 +0000 |
| commit | cd2ff7c27f5809358e151eba391b8f9d85b1eea1 (patch) | |
| tree | 00e79628d57b3c0535cfa042ba93c497e4b6efe0 /src/snap.h | |
| parent | i18n. Fixed palette makefile (see Bug #672228 can't compile: missing palettes... (diff) | |
| download | inkscape-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.h | 5 |
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; |
