summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 254bec8)
raw | patch | inline | side by side (parent: 254bec8)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 29 Jun 2008 13:56:28 +0000 (13:56 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 29 Jun 2008 13:56:28 +0000 (13:56 +0000) |
src/display/curve.cpp | patch | blob | history |
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index e80b668d6acd79b05c3f0f6ffd8c5cf917416656..af26fdda459fd7d4983c637ccdb62ce542bebb92 100644 (file)
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
if (!_bpath)
return true;
- bool empty = _pathv.empty(); /* || _pathv.front().empty(); */
+ bool empty = _pathv.empty() || _pathv.front().empty();
debug_check("SPCurve::is_empty", (_bpath->code == NR_END) == empty );
- return (_bpath->code == NR_END);
+ return empty;
}
/**
}
debug_check("SPCurve::is_closed", (closed) == (_closed) );
- return _closed;
+ return closed;
}
/**
debug_check("SPCurve::first_point", bpath->c(3) == _pathv.front().initialPoint() );
- return bpath->c(3);
- // return from_2geom( _pathv.front().initialPoint() );
+ //return bpath->c(3);
+ return from_2geom( _pathv.front().initialPoint() );
}
/**