From 680344945f84364fbbcbe4d4a353a52d4a724653 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 16 Jul 2008 21:36:19 +0000 Subject: update to latest 2geom (rev1497) (bzr r6332) --- src/2geom/pathvector.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/2geom/pathvector.cpp') diff --git a/src/2geom/pathvector.cpp b/src/2geom/pathvector.cpp index 9befc1f17..1e0a20003 100644 --- a/src/2geom/pathvector.cpp +++ b/src/2geom/pathvector.cpp @@ -44,15 +44,6 @@ namespace Geom { // TODO: see which of these functions can be inlined for optimization -PathVector operator* (PathVector const & path_in, Matrix const &m) -{ - PathVector path_out; - for(PathVector::const_iterator it = path_in.begin(); it != path_in.end(); ++it) { - path_out.push_back( (*it) * m ); - } - return path_out; -} - /** * Reverses all Paths and the order of paths in the vector as well **/ @@ -65,6 +56,7 @@ PathVector reverse_paths_and_order (PathVector const & path_in) return path_out; } +// FIXME: this function does not work for empty paths, because Rect cannot be initialized empty yet. check rect.h Rect bounds_fast( PathVector const& pv ) { typedef PathVector::const_iterator const_iterator; @@ -80,6 +72,7 @@ Rect bounds_fast( PathVector const& pv ) return bound; } +// FIXME: this function does not work for empty paths, because Rect cannot be initialized empty yet. check rect.h Rect bounds_exact( PathVector const& pv ) { typedef PathVector::const_iterator const_iterator; -- cgit v1.2.3