summaryrefslogtreecommitdiffstats
path: root/src/2geom/shape.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-12 19:47:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-12 19:47:07 +0000
commitbd91c05befcd0db146a9f8ae604e6b7a2efdbe78 (patch)
tree23e7c6c7a1deb478f032b54dafc0609a47c5724c /src/2geom/shape.cpp
parentLPE: no longer overload doEffect methods, but name them according to accepted... (diff)
downloadinkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.tar.gz
inkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.zip
update to 2geom rev. 1168
(bzr r4068)
Diffstat (limited to 'src/2geom/shape.cpp')
-rw-r--r--src/2geom/shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/shape.cpp b/src/2geom/shape.cpp
index 54218d4d9..3cf6d0bc0 100644
--- a/src/2geom/shape.cpp
+++ b/src/2geom/shape.cpp
@@ -296,7 +296,7 @@ unsigned pick_coincident(unsigned ix, unsigned jx, bool &rev, std::vector<Path>
for(unsigned k = jx; k < crs[ix].size(); k++) {
unsigned koix = crs[ix][k].getOther(ix);
if(koix == oix) {
- if(!near(otime, crs[ix][k].getTime(oix))) break;
+ if(!are_near(otime, crs[ix][k].getTime(oix))) break;
for(unsigned dir = 0; dir < 2; dir++) {
Point val = ps[ix].pointAt(fudgerize(crs[ix][k].getTime(ix), dir)) - cross_point;
Cmp to_prev = cmp(cross(val, prev), 0);
@@ -470,7 +470,7 @@ unsigned pick_coincident(unsigned ix, unsigned jx, bool pref, bool &rev, std::ve
for(unsigned k = jx; k < crs[ix].size(); k++) {
unsigned koix = crs[ix][k].getOther(ix);
if(koix == oix) {
- if(!near(otime, crs[ix][k].getTime(oix))) break;
+ if(!are_near(otime, crs[ix][k].getTime(oix))) break;
for(unsigned dir = 0; dir < 2; dir++) {
Point val = ps[ix].pointAt(crs[ix][k].getTime(ix) + (dir ? -0.01 : 0.01)) - cross_point;
Cmp to_prev = cmp(cross(val, prev), 0);