From cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 5 Dec 2008 19:57:37 +0000 Subject: NR::LInfty => Geom:: (bzr r6953) --- src/livarot/PathStroke.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/livarot/PathStroke.cpp') diff --git a/src/livarot/PathStroke.cpp b/src/livarot/PathStroke.cpp index e9f2ae677..cbd7bed5a 100644 --- a/src/livarot/PathStroke.cpp +++ b/src/livarot/PathStroke.cpp @@ -65,7 +65,7 @@ void Path::Stroke(Shape *dest, bool doClose, double width, JoinType join, if ( lastP > lastM+1 ) { NR::Point sbStart = pts[lastM].p; NR::Point sbEnd = pts[lastP - 1].p; - if ( NR::LInfty(sbEnd-sbStart) < 0.00001 ) { // why close lines that shouldn't be closed? + if ( Geom::LInfty(sbEnd-sbStart) < 0.00001 ) { // why close lines that shouldn't be closed? // ah I see, because close is defined here for // a whole path and should be defined per subpath. // debut==fin => ferme (on devrait garder un element pour les close(), mais tant pis) -- cgit v1.2.3