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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/sp-path.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 __SP_PATH_H__
 
2
#define __SP_PATH_H__
 
3
 
 
4
/*
 
5
 * SVG <path> implementation
 
6
 *
 
7
 * Authors:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *
 
10
 * Copyright (C) 1999-2002 Lauris Kaplinski
 
11
 * Copyright (C) 2000-2001 Ximian, Inc.
 
12
 *
 
13
 * Released under GNU GPL, read the file 'COPYING' for more information
 
14
 */
 
15
 
 
16
#include "sp-shape.h"
 
17
#include "sp-conn-end-pair.h"
 
18
 
 
19
 
 
20
#define SP_TYPE_PATH (sp_path_get_type ())
 
21
#define SP_PATH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_PATH, SPPath))
 
22
#define SP_IS_PATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_PATH))
 
23
 
 
24
struct SPPath : public SPShape {
 
25
    SPCurve *original_curve;
 
26
 
 
27
    SPConnEndPair connEndPair;
 
28
};
 
29
 
 
30
struct SPPathClass {
 
31
    SPShapeClass shape_class;
 
32
};
 
33
 
 
34
GType sp_path_get_type (void);
 
35
gint sp_nodes_in_path(SPPath *path);
 
36
 
 
37
void     sp_path_set_original_curve (SPPath *path, SPCurve *curve, unsigned int owner, bool write);
 
38
SPCurve* sp_path_get_original_curve (SPPath *path);
 
39
SPCurve* sp_path_get_curve_for_edit (SPPath *path);
 
40
const SPCurve* sp_path_get_curve_reference (SPPath *path);
 
41
 
 
42
#endif
 
43
 
 
44
/*
 
45
  Local Variables:
 
46
  mode:c++
 
47
  c-file-style:"stroustrup"
 
48
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
49
  indent-tabs-mode:nil
 
50
  fill-column:99
 
51
  End:
 
52
*/
 
53
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :