[docs] NEWS updated
[adg.git] / adg / adg-enums.h
blob8df86b98a1742b46f7efa0099de3a597f53669f1
1 /* ADG - Automatic Drawing Generation
2 * Copyright (C) 2007,2008,2009 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_ENUMS_H__
22 #define __ADG_ENUMS_H__
24 #include <glib-object.h>
27 G_BEGIN_DECLS
29 /**
30 * AdgLineStyleId:
31 * @ADG_LINE_STYLE_DRAW: normal drawing
32 * @ADG_LINE_STYLE_CENTER: axis and center-lines
33 * @ADG_LINE_STYLE_HIDDEN: covered entities
34 * @ADG_LINE_STYLE_XATCH: xatches
35 * @ADG_LINE_STYLE_DIM: extension and base lines of dimension entities
36 * @ADG_LINE_STYLE_LAST: start of user-defined styles
38 * Builtin id to get some predefined #AdgLineStyle instances.
40 typedef enum {
41 ADG_LINE_STYLE_DRAW,
42 ADG_LINE_STYLE_CENTER,
43 ADG_LINE_STYLE_HIDDEN,
44 ADG_LINE_STYLE_XATCH,
45 ADG_LINE_STYLE_DIM,
46 ADG_LINE_STYLE_LAST
47 } AdgLineStyleId;
49 /**
50 * AdgFontStyleId:
51 * @ADG_FONT_STYLE_TEXT: generic text style
52 * @ADG_FONT_STYLE_QUOTE: text style for the quote number
53 * @ADG_FONT_STYLE_TOLERANCE: text style for quote tolerances
54 * @ADG_FONT_STYLE_NOTE: text style for additional notes appended to the quote
55 * @ADG_FONT_STYLE_LAST: start of user defined font styles
57 * Builtin id to get some predefined #AdgFontStyle instances.
59 typedef enum {
60 ADG_FONT_STYLE_TEXT,
61 ADG_FONT_STYLE_QUOTE,
62 ADG_FONT_STYLE_TOLERANCE,
63 ADG_FONT_STYLE_NOTE,
64 ADG_FONT_STYLE_LAST
65 } AdgFontStyleId;
67 /**
68 * AdgArrowStyleId:
69 * @ADG_ARROW_STYLE_ARROW: the classic arrow to use in technical drawings
70 * @ADG_ARROW_STYLE_TRIANGLE: same as above, but not filled
71 * @ADG_ARROW_STYLE_DOT: a filled circle
72 * @ADG_ARROW_STYLE_CIRCLE: an empty circle
73 * @ADG_ARROW_STYLE_BLOCK: a filled square
74 * @ADG_ARROW_STYLE_SQUARE: an empty square
75 * @ADG_ARROW_STYLE_TICK: an architetural tick
76 * @ADG_ARROW_STYLE_LAST: start of user-defined arrow styles
78 * Builtin id to get some predefined #AdgArrowStyle instances.
80 typedef enum {
81 ADG_ARROW_STYLE_ARROW,
82 ADG_ARROW_STYLE_TRIANGLE,
83 ADG_ARROW_STYLE_DOT,
84 ADG_ARROW_STYLE_CIRCLE,
85 ADG_ARROW_STYLE_BLOCK,
86 ADG_ARROW_STYLE_SQUARE,
87 ADG_ARROW_STYLE_TICK,
88 ADG_ARROW_STYLE_LAST
89 } AdgArrowStyleId;
91 /**
92 * AdgDimStyleId:
93 * @ADG_DIM_STYLE_ISO: the ISO standard
94 * @ADG_DIM_STYLE_LAST: start of user-defined dimension styles
96 * Builtin id to get some predefined #AdgDimStyle instances.
98 typedef enum {
99 ADG_DIM_STYLE_ISO,
100 ADG_DIM_STYLE_LAST
101 } AdgDimStyleId;
103 G_END_DECLS
106 #endif /* __ADG_ENUMS_H__ */