~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/2geom/sbasis-poly.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SBASIS_TO_POLY
 
2
#define _SBASIS_TO_POLY
 
3
 
 
4
#include <2geom/poly.h>
 
5
#include <2geom/sbasis.h>
 
6
 
 
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
 */
 
40
 
 
41
namespace Geom{
 
42
 
 
43
SBasis poly_to_sbasis(Poly const & p);
 
44
Poly sbasis_to_poly(SBasis const & s);
 
45
 
 
46
};
 
47
 
 
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 :
 
58
 
 
59
#endif