Implemented adg_line_style_new()
[adg.git] / adg / adg-enums.h
blobc28bd7846302a347588760f6268f30a26105f6c1
1 /* ADG - Automatic Drawing Generation
2 * Copyright (C) 2007-2008, 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 Library 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 * Library 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., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
21 #ifndef __ADG_ENUMS_H__
22 #define __ADG_ENUMS_H__
24 #include <glib-object.h>
27 G_BEGIN_DECLS
30 /**
31 * AdgLineStyleId:
32 * @ADG_LINE_STYLE_DRAW: normal drawing
33 * @ADG_LINE_STYLE_CENTER: axis and center-lines
34 * @ADG_LINE_STYLE_HIDDEN: covered entities
35 * @ADG_LINE_STYLE_XATCH: xatches
36 * @ADG_LINE_STYLE_DIM: extension and base lines of dimension entities
37 * @ADG_LINE_STYLE_LAST: start of user-defined styles
39 * Numeric representation of line styles.
40 * Some standard line styles are predefined.
42 typedef enum
44 ADG_LINE_STYLE_DRAW,
45 ADG_LINE_STYLE_CENTER,
46 ADG_LINE_STYLE_HIDDEN,
47 ADG_LINE_STYLE_XATCH,
48 ADG_LINE_STYLE_DIM,
49 ADG_LINE_STYLE_LAST
50 } AdgLineStyleId;
52 /**
53 * AdgFontStyleId:
55 * Numeric representation of font styles.
56 * Some standard font styles are predefined.
58 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 little size filled circle
72 * @ADG_ARROW_STYLE_TICK: an architetural tick
73 * @ADG_ARROW_STYLE_CIRCLE: a medium size empty circle
74 * @ADG_ARROW_STYLE_SQUARE: a medium size empty square
75 * @ADG_ARROW_STYLE_LAST: start of user-defined styles
77 * Numeric representation of arrow styles.
78 * Some standard arrow styles are predefined.
80 typedef enum
82 ADG_ARROW_STYLE_ARROW,
83 ADG_ARROW_STYLE_TRIANGLE,
84 ADG_ARROW_STYLE_DOT,
85 ADG_ARROW_STYLE_CIRCLE,
86 ADG_ARROW_STYLE_BLOCK,
87 ADG_ARROW_STYLE_SQUARE,
88 ADG_ARROW_STYLE_TICK,
89 ADG_ARROW_STYLE_LAST
90 } AdgArrowStyleId;
92 /**
93 * AdgDimStyleId:
94 * @ADG_DIM_STYLE_ISO: ISO standard
95 * @ADG_DIM_STYLE_LAST: start of user-defined styles
97 * Numeric representation of dimension styles.
98 * Some standard dimension styles are predefined.
100 typedef enum
102 ADG_DIM_STYLE_ISO,
103 ADG_DIM_STYLE_LAST
104 } AdgDimStyleId;
107 G_END_DECLS
110 #endif /* __ADG_ENUMS_H__ */