* lib/text.h: Added text_get_line() declaration
[dia.git] / lib / prop_attr.h
blobb1f0ebad02043ca049ed141ab96987ef48c30f0b
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. Chépélov
9 * Property types for "attribute" types (line style, arrow, colour, font)
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_ATTR_H
26 #define PROP_ATTR_H
28 #include "properties.h"
29 #include "dia_xml.h"
31 typedef struct {
32 Property common;
33 LineStyle style;
34 real dash;
35 } LinestyleProperty;
37 typedef struct {
38 Property common;
39 Arrow arrow_data;
40 } ArrowProperty;
42 typedef struct {
43 Property common;
44 Color color_data;
45 } ColorProperty;
47 typedef struct {
48 Property common;
49 DiaFont *font_data;
50 } FontProperty;
52 void prop_attr_register(void);
54 #endif