Code

rewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bb...
[inkscape.git] / src / helper / geom.h
1 #ifndef INKSCAPE_HELPER_GEOM_H\r
2 #define INKSCAPE_HELPER_GEOM_H\r
3 \r
4 /**\r
5  * Specific geometry functions for Inkscape, not provided my lib2geom.\r
6  *\r
7  * Author:\r
8  *   Johan Engelen <goejendaagh@zonnet.nl>\r
9  *\r
10  * Copyright (C) 2008 Johan Engelen\r
11  *\r
12  * Released under GNU GPL\r
13  */\r
14 \r
15 #include <2geom/forward.h>\r
16 #include <libnr/nr-forward.h>\r
17 #include <libnr/nr-coord.h>\r
18 \r
19 Geom::Rect bounds_fast_transformed(Geom::PathVector const & pv, Geom::Matrix const & t);\r
20 Geom::Rect bounds_exact_transformed(Geom::PathVector const & pv, Geom::Matrix const & t);\r
21 \r
22 void pathv_matrix_point_bbox_wind_distance ( Geom::PathVector const & pathv, NR::Matrix const &m, NR::Point &pt,\r
23                                              NR::Rect *bbox, int *wind, NR::Coord *dist,\r
24                                              NR::Coord tolerance, NR::Rect *viewbox) __attribute__ ((deprecated));\r
25 void pathv_matrix_point_bbox_wind_distance ( Geom::PathVector const & pathv, Geom::Matrix const &m, Geom::Point &pt,\r
26                                              Geom::Rect *bbox, int *wind, Geom::Coord *dist,\r
27                                              Geom::Coord tolerance, Geom::Rect *viewbox);\r
28 \r
29 #endif  // INKSCAPE_HELPER_GEOM_H\r
30 \r
31 /*\r
32   Local Variables:\r
33   mode:c++\r
34   c-file-style:"stroustrup"\r
35   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
36   indent-tabs-mode:nil\r
37   fill-column:99\r
38   End:\r
39 */\r
40 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r