summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-10-04 01:32:26 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-10-04 01:32:26 +0000
commit380f71793aba455f86eae2c75532b24dc613e71d (patch)
treea516ab2c65aea18caba79f97664f28a157a4e5f8 /src/snap.cpp
parentAllow one style entry per unique CSS style for each family. (diff)
downloadinkscape-380f71793aba455f86eae2c75532b24dc613e71d.tar.gz
inkscape-380f71793aba455f86eae2c75532b24dc613e71d.zip
Refactor SPGuide to use more C++
(bzr r13341.1.241)
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index fb87aae6b..8138e4546 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -430,7 +430,7 @@ void SnapManager::guideConstrainedSnap(Geom::Point &p, SPGuide const &guideline)
Inkscape::SnapCandidatePoint candidate(p, Inkscape::SNAPSOURCE_GUIDE_ORIGIN, Inkscape::SNAPTARGET_UNDEFINED);
IntermSnapResults isr;
- Inkscape::Snapper::SnapConstraint cl(guideline.point_on_line, Geom::rot90(guideline.normal_to_line));
+ Inkscape::Snapper::SnapConstraint cl(guideline.getPoint(), Geom::rot90(guideline.getNormal()));
SnapperList snappers = getSnappers();
for (SnapperList::const_iterator i = snappers.begin(); i != snappers.end(); ++i) {