From 6a14468699d24d79aa023bd0e4799b2f92c9989f Mon Sep 17 00:00:00 2001 From: johanengelen Date: Fri, 8 Aug 2008 20:33:01 +0000 Subject: [PATCH] update 2geom to rev1516 --- src/2geom/path.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/2geom/path.h b/src/2geom/path.h index ab91038a6..f4aa560ff 100644 --- a/src/2geom/path.h +++ b/src/2geom/path.h @@ -245,7 +245,13 @@ public: return ( closed_ ? end_closed() : end_open() ); } - size_type size() const { return get_curves().size()-1; } + size_type size_open() const { return get_curves().size()-1; } + size_type size_closed() const { return get_curves().size(); } + size_type size_default() const { + return ( closed_ ? size_closed() : size_open() ); + } + size_type size() const { return size_open(); } + size_type max_size() const { return get_curves().max_size()-1; } bool empty() const { return get_curves().size() == 1; } -- 2.30.2