summaryrefslogtreecommitdiffstats
path: root/src/2geom/pathvector.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-16 21:36:19 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-16 21:36:19 +0000
commit680344945f84364fbbcbe4d4a353a52d4a724653 (patch)
tree1e8f541be4d451eff0e58ec6d76e066dd3167086 /src/2geom/pathvector.cpp
parentimproving SVG Fonts UI (diff)
downloadinkscape-680344945f84364fbbcbe4d4a353a52d4a724653.tar.gz
inkscape-680344945f84364fbbcbe4d4a353a52d4a724653.zip
update to latest 2geom (rev1497)
(bzr r6332)
Diffstat (limited to 'src/2geom/pathvector.cpp')
-rw-r--r--src/2geom/pathvector.cpp11
1 files changed, 2 insertions, 9 deletions
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;