summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-17 22:00:40 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-17 22:00:40 +0000
commitb8d2a2d3b528d90cd88f96fd4a32b077c98776d5 (patch)
treeaa819f1acb877a25050e6dd559ba2b07daf69154 /src/sp-guide.cpp
parentNR::Point : add cast operator to Geom::Point (diff)
downloadinkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.tar.gz
inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.zip
convert all SPCurve's points and matrices arguments and return types to 2Geom
(bzr r6339)
Diffstat (limited to 'src/sp-guide.cpp')
-rw-r--r--src/sp-guide.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp
index 3ffd3eda2..aad26f050 100644
--- a/src/sp-guide.cpp
+++ b/src/sp-guide.cpp
@@ -339,7 +339,7 @@ Geom::Point sp_guide_position_from_pt(SPGuide const *guide, NR::Point const &pt)
double sp_guide_distance_from_pt(SPGuide const *guide, Geom::Point const &pt)
{
- return dot(pt - guide->point_on_line, guide->normal_to_line);
+ return Geom::dot(pt - guide->point_on_line, guide->normal_to_line);
}
/**