summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-23 22:20:59 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-23 22:20:59 +0000
commit0894ddafc5587d5b043893d78f2363a461103471 (patch)
tree51a700e8902626966e76537ca210586b01fcaaf4 /src
parentmake faster 2geom bbox calc. (diff)
downloadinkscape-0894ddafc5587d5b043893d78f2363a461103471.tar.gz
inkscape-0894ddafc5587d5b043893d78f2363a461103471.zip
add comment
(bzr r6033)
Diffstat (limited to 'src')
-rw-r--r--src/helper/geom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp
index 937303598..9fe823670 100644
--- a/src/helper/geom.cpp
+++ b/src/helper/geom.cpp
@@ -139,7 +139,7 @@ bounds_exact_transformed(Geom::PathVector const & pv, Geom::Matrix const & t)
return bbox;
Geom::Curve *temp = pv.front().front().transformed(t);
- bbox = temp->boundsExact();
+ bbox = temp->boundsExact(); // need decent starting bbox. could be improved by using large numbers for initial bbox (interval(huge,-huge))
delete temp;
for (Geom::PathVector::const_iterator it = pv.begin(); it != pv.end(); ++it) {