From: johanengelen Date: Fri, 8 Aug 2008 20:33:01 +0000 (+0000) Subject: update 2geom to rev1516 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a14468699d24d79aa023bd0e4799b2f92c9989f;p=inkscape.git update 2geom to rev1516 --- 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; }