diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-01 19:15:16 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-01 19:15:16 +0000 |
| commit | a45a0820bec31c1611da0c8de6ecfec218d2419a (patch) | |
| tree | 39a36f8323928a800aebc7266cce7e3bfadec308 /src/line-snapper.cpp | |
| parent | replace matrix division code. (diff) | |
| download | inkscape-a45a0820bec31c1611da0c8de6ecfec218d2419a.tar.gz inkscape-a45a0820bec31c1611da0c8de6ecfec218d2419a.zip | |
2geomify a lot of NR::Points to Geom::Point
(bzr r6513)
Diffstat (limited to 'src/line-snapper.cpp')
| -rw-r--r-- | src/line-snapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp index 8fdf936ed..ee902d5fc 100644 --- a/src/line-snapper.cpp +++ b/src/line-snapper.cpp @@ -87,7 +87,7 @@ void Inkscape::LineSnapper::constrainedSnap(SnappedConstraints &sc, /* Try to intersect this line with the target line */ Geom::Point t_2geom(NR_HUGE, NR_HUGE); - Geom::IntersectorKind const k = Geom::line_intersection(n.to_2geom(), q0, i->first.to_2geom(), q1, t_2geom); + Geom::IntersectorKind const k = Geom::line_intersection(n, q0, i->first, q1, t_2geom); NR::Point t(t_2geom); if (k == Geom::intersects) { |
