summaryrefslogtreecommitdiffstats
path: root/src/helper/geom.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-06 21:23:19 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-06 21:23:19 +0000
commit328d52847188a3c9f24f6ca693c47f0227c82c03 (patch)
tree9b77a0df25a40011883d9f1c7e70a1b80f1ef385 /src/helper/geom.cpp
parent2Geom version of the path tests + some additional small changes. (diff)
downloadinkscape-328d52847188a3c9f24f6ca693c47f0227c82c03.tar.gz
inkscape-328d52847188a3c9f24f6ca693c47f0227c82c03.zip
src/helper 2geomified
(bzr r6579)
Diffstat (limited to 'src/helper/geom.cpp')
-rw-r--r--src/helper/geom.cpp28
1 files changed, 0 insertions, 28 deletions
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;
-}
//#################################################################################
/*