From 328d52847188a3c9f24f6ca693c47f0227c82c03 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 6 Aug 2008 21:23:19 +0000 Subject: src/helper 2geomified (bzr r6579) --- src/helper/geom.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/helper/geom.cpp') diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index bf487f652..caa169a27 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -461,34 +461,6 @@ pathv_matrix_point_bbox_wind_distance (Geom::PathVector const & pathv, Geom::Mat } } -// temporary wrapper -void -pathv_matrix_point_bbox_wind_distance (Geom::PathVector const & pathv, NR::Matrix const &m, NR::Point const &pt, - NR::Rect *bbox, int *wind, NR::Coord *dist, - NR::Coord tolerance, NR::Rect const *viewbox) -{ - Geom::Rect _bbox; - if (bbox) - _bbox = to_2geom(*bbox); - Geom::Coord _dist; - if (dist) - _dist = *dist; - Geom::Rect _viewbox; - if (viewbox) - _viewbox = to_2geom(*viewbox); - - pathv_matrix_point_bbox_wind_distance( pathv, to_2geom(m), to_2geom(pt), - bbox ? &_bbox : NULL, - wind, - dist ? &_dist : NULL, - tolerance, - viewbox ? &_viewbox : NULL ); - - if (bbox) - *bbox = from_2geom(_bbox); - if (dist) - *dist = _dist; -} //################################################################################# /* -- cgit v1.2.3