1 #ifndef _SBASIS_TO_POLY
2 #define _SBASIS_TO_POLY
4 #include <2geom/poly.h>
5 #include <2geom/sbasis.h>
7 /**
8 * \file
9 * \brief Conversion between SBasis and Poly. Not recommended for general use due to instability.
10 *
11 * Authors:
12 * ? <?@?.?>
13 *
14 * Copyright ?-? authors
15 *
16 * This library is free software; you can redistribute it and/or
17 * modify it either under the terms of the GNU Lesser General Public
18 * License version 2.1 as published by the Free Software Foundation
19 * (the "LGPL") or, at your option, under the terms of the Mozilla
20 * Public License Version 1.1 (the "MPL"). If you do not alter this
21 * notice, a recipient may use your version of this file under either
22 * the MPL or the LGPL.
23 *
24 * You should have received a copy of the LGPL along with this library
25 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 * You should have received a copy of the MPL along with this library
28 * in the file COPYING-MPL-1.1
29 *
30 * The contents of this file are subject to the Mozilla Public License
31 * Version 1.1 (the "License"); you may not use this file except in
32 * compliance with the License. You may obtain a copy of the License at
33 * http://www.mozilla.org/MPL/
34 *
35 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
36 * OF ANY KIND, either express or implied. See the LGPL or the MPL for
37 * the specific language governing rights and limitations.
38 *
39 */
41 namespace Geom{
43 SBasis poly_to_sbasis(Poly const & p);
44 Poly sbasis_to_poly(SBasis const & s);
46 };
48 /*
49 Local Variables:
50 mode:c++
51 c-file-style:"stroustrup"
52 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
53 indent-tabs-mode:nil
54 fill-column:99
55 End:
56 */
57 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
59 #endif