diff options
Diffstat (limited to 'src/helper')
| -rw-r--r-- | src/helper/geom.cpp | 7 | ||||
| -rw-r--r-- | src/helper/geom.h | 1 |
2 files changed, 8 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:
diff --git a/src/helper/geom.h b/src/helper/geom.h index fbc3f2c00..d7548756a 100644 --- a/src/helper/geom.h +++ b/src/helper/geom.h @@ -15,6 +15,7 @@ #include <2geom/forward.h>
Geom::Rect bounds_fast_transformed(Geom::PathVector const & pv, Geom::Matrix const & t);
+Geom::Rect bounds_exact_transformed(Geom::PathVector const & pv, Geom::Matrix const & t);
#endif // INKSCAPE_HELPER_GEOM_H
|
