s/2008,2009/2008,2009,2010/
[adg.git] / adg / adg-dim-style-private.h
blobe2363ffdcd03ed2fb754208b118f9c6423cd00a3
1 /* ADG - Automatic Drawing Generation
2 * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
21 #ifndef __ADG_DIM_STYLE_PRIVATE_H__
22 #define __ADG_DIM_STYLE_PRIVATE_H__
24 #include <adg/adg-style.h>
27 G_BEGIN_DECLS
29 typedef struct _AdgMarkerData AdgMarkerData;
30 typedef struct _AdgDimStylePrivate AdgDimStylePrivate;
32 struct _AdgMarkerData {
33 GType type;
34 guint n_parameters;
35 GParameter *parameters;
38 struct _AdgDimStylePrivate {
39 AdgMarkerData marker1;
40 AdgMarkerData marker2;
41 AdgDress color_dress;
42 AdgDress value_dress;
43 AdgDress min_dress;
44 AdgDress max_dress;
45 AdgDress line_dress;
46 AdgDress marker_dress;
47 gdouble from_offset;
48 gdouble to_offset;
49 gdouble beyond;
50 gdouble baseline_spacing;
51 gdouble limits_spacing;
52 AdgPair quote_shift;
53 AdgPair limits_shift;
54 gchar *number_format;
55 gchar *number_tag;
58 G_END_DECLS
61 #endif /* __ADG_DIM_STYLE_PRIVATE_H__ */