More honesty about bug 144394, it's not quite fixed yet.
[dia.git] / lib / prop_geomtypes.h
bloba44ae87818f6d13abc939ad746f9dcd75ada658e
1 /* Dia -- a diagram creation/manipulation program -*- c -*-
2 * Copyright (C) 1998 Alexander Larsson
4 * Property system for dia objects/shapes.
5 * Copyright (C) 2000 James Henstridge
6 * Copyright (C) 2001 Cyrille Chepelov
7 * Major restructuration done in August 2001 by C. Chepelov
9 * Property types for "geometric" types (real, points, rectangles, etc.)
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef PROP_GEOMTYPES_H
26 #define PROP_GEOMTYPES_H
28 #include "properties.h"
29 #include "libxml/tree.h"
30 #include "dia_xml.h"
31 #include "geometry.h"
33 typedef struct {
34 Property common;
35 real real_data;
36 } RealProperty;
38 typedef struct {
39 Property common;
40 real length_data;
41 } LengthProperty;
43 typedef struct {
44 Property common;
45 real fontsize_data;
46 } FontsizeProperty;
48 typedef struct {
49 Property common;
50 Point point_data;
51 } PointProperty;
53 typedef struct {
54 Property common;
55 GArray *pointarray_data;
56 } PointarrayProperty;
58 typedef struct {
59 Property common;
60 BezPoint bezpoint_data;
61 } BezPointProperty;
63 typedef struct {
64 Property common;
65 GArray *bezpointarray_data;
66 } BezPointarrayProperty;
68 typedef struct {
69 Property common;
70 Rectangle rect_data;
71 } RectProperty;
73 typedef struct {
74 Property common;
75 Point endpoints_data[2];
76 } EndpointsProperty;
78 typedef struct {
79 Property common;
80 gint connpoint_line_data;
81 } Connpoint_LineProperty;
83 void prop_geomtypes_register(void);
85 #endif