diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-12-14 20:49:00 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-12-14 20:49:00 +0000 |
| commit | f643622c05d698103b68a0af90b96fadb021f815 (patch) | |
| tree | 69f647af0776d8896263ee9c6694d1a64e649f32 /src/guide-snapper.cpp | |
| parent | Filter quality setting revised, seems to not crash when viewing filters.svg (diff) | |
| download | inkscape-f643622c05d698103b68a0af90b96fadb021f815.tar.gz inkscape-f643622c05d698103b68a0af90b96fadb021f815.zip | |
1) snap midpoints of line segments (both as source and as target)
2) snap intersections within a single shape (as source; as target was already implemented)
(bzr r7008)
Diffstat (limited to 'src/guide-snapper.cpp')
| -rw-r--r-- | src/guide-snapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guide-snapper.cpp b/src/guide-snapper.cpp index d9c57f829..be2e84170 100644 --- a/src/guide-snapper.cpp +++ b/src/guide-snapper.cpp @@ -17,7 +17,7 @@ #include "sp-namedview.h" #include "sp-guide.h" -Inkscape::GuideSnapper::GuideSnapper(SnapManager const *sm, Geom::Coord const d) : LineSnapper(sm, d) +Inkscape::GuideSnapper::GuideSnapper(SnapManager *sm, Geom::Coord const d) : LineSnapper(sm, d) { } @@ -32,7 +32,7 @@ Inkscape::GuideSnapper::LineList Inkscape::GuideSnapper::_getSnapLines(Geom::Poi for (GSList const *l = _snapmanager->getNamedView()->guides; l != NULL; l = l->next) { SPGuide const *g = SP_GUIDE(l->data); - s.push_back(std::make_pair(g->normal_to_line, g->point_on_line)); + s.push_back(std::make_pair(g->normal_to_line, g->point_on_line)); } return s; |
