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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/sp-line.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_LINE_H__
 
2
#define __SP_LINE_H__
 
3
 
 
4
/*
 
5
 * SVG <line> implementation
 
6
 *
 
7
 * Authors:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *
 
10
 * Copyright (C) 1999-2002 Lauris Kaplinski
 
11
 *
 
12
 * Released under GNU GPL, read the file 'COPYING' for more information
 
13
 */
 
14
 
 
15
#include "svg/svg-length.h"
 
16
#include "sp-shape.h"
 
17
 
 
18
 
 
19
 
 
20
#define SP_TYPE_LINE            (sp_line_get_type ())
 
21
#define SP_LINE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_LINE, SPLine))
 
22
#define SP_LINE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_LINE, SPLineClass))
 
23
#define SP_IS_LINE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_LINE))
 
24
#define SP_IS_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_LINE))
 
25
 
 
26
class SPLine;
 
27
class SPLineClass;
 
28
 
 
29
struct SPLine : public SPShape {
 
30
        SVGLength x1;
 
31
        SVGLength y1;
 
32
        SVGLength x2;
 
33
        SVGLength y2;
 
34
};
 
35
 
 
36
struct SPLineClass {
 
37
        SPShapeClass parent_class;
 
38
};
 
39
 
 
40
GType sp_line_get_type (void);
 
41
 
 
42
 
 
43
 
 
44
#endif