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