diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-16 21:25:19 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-16 21:25:19 +0000 |
| commit | 07e18ec0923d844fbef0d8a6e9bd5abd777860d0 (patch) | |
| tree | 3b768c5ad78b32325ef691e39bcd8638ae77689d /src/helper/geom.cpp | |
| parent | add comment (original update code used exact bbox) (diff) | |
| download | inkscape-07e18ec0923d844fbef0d8a6e9bd5abd777860d0.tar.gz inkscape-07e18ec0923d844fbef0d8a6e9bd5abd777860d0.zip | |
use 2geom method to calc boundingbox of shape
(bzr r5968)
Diffstat (limited to 'src/helper/geom.cpp')
| -rw-r--r-- | src/helper/geom.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index 3917218bb..8a32386fc 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -11,6 +11,8 @@ * Released under GNU GPL
*/
+#include "helper/geom.h"
+
#include <2geom/pathvector.h>
#include <2geom/transforms.h>
@@ -20,6 +22,11 @@ bounds_fast_transformed(Geom::PathVector const & pv, Geom::Matrix const & t) return Geom::bounds_fast(pv * t);
}
+Geom::Rect
+bounds_exact_transformed(Geom::PathVector const & pv, Geom::Matrix const & t)
+{
+ return Geom::bounds_exact(pv * t);
+}
/*
Local Variables:
|
