mathematical 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (263) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -10
  3. data/Rakefile +42 -3
  4. data/lib/mathematical.rb +5 -4
  5. data/lib/mathematical/mathematical.bundle +0 -0
  6. data/lib/mathematical/render.rb +6 -5
  7. data/lib/mathematical/version.rb +1 -1
  8. data/mathematical.gemspec +5 -5
  9. metadata +14 -296
  10. data/.gitignore +0 -24
  11. data/.gitmodules +0 -0
  12. data/Gemfile +0 -4
  13. data/ext/mathematical/README.itex2MML.md +0 -11
  14. data/ext/mathematical/README.lasem.md +0 -11
  15. data/ext/mathematical/extconf.rb +0 -51
  16. data/ext/mathematical/itex2MML.h +0 -63
  17. data/ext/mathematical/lasemrender.c +0 -257
  18. data/ext/mathematical/lex.yy.c +0 -6548
  19. data/ext/mathematical/lsm.c +0 -30
  20. data/ext/mathematical/lsm.h +0 -36
  21. data/ext/mathematical/lsmattributes.c +0 -279
  22. data/ext/mathematical/lsmattributes.h +0 -75
  23. data/ext/mathematical/lsmcairo.c +0 -598
  24. data/ext/mathematical/lsmcairo.h +0 -51
  25. data/ext/mathematical/lsmdebug.c +0 -179
  26. data/ext/mathematical/lsmdebug.h +0 -76
  27. data/ext/mathematical/lsmdom.h +0 -43
  28. data/ext/mathematical/lsmdomcharacterdata.c +0 -114
  29. data/ext/mathematical/lsmdomcharacterdata.h +0 -59
  30. data/ext/mathematical/lsmdomdocument.c +0 -292
  31. data/ext/mathematical/lsmdomdocument.h +0 -82
  32. data/ext/mathematical/lsmdomdocumentfragment.c +0 -81
  33. data/ext/mathematical/lsmdomdocumentfragment.h +0 -55
  34. data/ext/mathematical/lsmdomelement.c +0 -148
  35. data/ext/mathematical/lsmdomelement.h +0 -62
  36. data/ext/mathematical/lsmdomentities.c +0 -2155
  37. data/ext/mathematical/lsmdomentities.h +0 -35
  38. data/ext/mathematical/lsmdomenumtypes.c +0 -99
  39. data/ext/mathematical/lsmdomenumtypes.c.template +0 -39
  40. data/ext/mathematical/lsmdomenumtypes.h +0 -26
  41. data/ext/mathematical/lsmdomenumtypes.h.template +0 -26
  42. data/ext/mathematical/lsmdomimplementation.c +0 -82
  43. data/ext/mathematical/lsmdomimplementation.h +0 -41
  44. data/ext/mathematical/lsmdomnamednodemap.c +0 -118
  45. data/ext/mathematical/lsmdomnamednodemap.h +0 -64
  46. data/ext/mathematical/lsmdomnode.c +0 -725
  47. data/ext/mathematical/lsmdomnode.h +0 -120
  48. data/ext/mathematical/lsmdomnodelist.c +0 -70
  49. data/ext/mathematical/lsmdomnodelist.h +0 -58
  50. data/ext/mathematical/lsmdomparser.c +0 -461
  51. data/ext/mathematical/lsmdomparser.h +0 -54
  52. data/ext/mathematical/lsmdomtext.c +0 -82
  53. data/ext/mathematical/lsmdomtext.h +0 -55
  54. data/ext/mathematical/lsmdomtypes.h +0 -44
  55. data/ext/mathematical/lsmdomview.c +0 -422
  56. data/ext/mathematical/lsmdomview.h +0 -94
  57. data/ext/mathematical/lsmmathml.h +0 -66
  58. data/ext/mathematical/lsmmathmlactionelement.c +0 -93
  59. data/ext/mathematical/lsmmathmlactionelement.h +0 -57
  60. data/ext/mathematical/lsmmathmlaligngroupelement.c +0 -102
  61. data/ext/mathematical/lsmmathmlaligngroupelement.h +0 -56
  62. data/ext/mathematical/lsmmathmlalignmarkelement.c +0 -102
  63. data/ext/mathematical/lsmmathmlalignmarkelement.h +0 -56
  64. data/ext/mathematical/lsmmathmlattributes.c +0 -197
  65. data/ext/mathematical/lsmmathmlattributes.h +0 -126
  66. data/ext/mathematical/lsmmathmldocument.c +0 -306
  67. data/ext/mathematical/lsmmathmldocument.h +0 -61
  68. data/ext/mathematical/lsmmathmlelement.c +0 -491
  69. data/ext/mathematical/lsmmathmlelement.h +0 -107
  70. data/ext/mathematical/lsmmathmlenums.c +0 -429
  71. data/ext/mathematical/lsmmathmlenums.h +0 -182
  72. data/ext/mathematical/lsmmathmlenumtypes.c +0 -666
  73. data/ext/mathematical/lsmmathmlenumtypes.c.template +0 -39
  74. data/ext/mathematical/lsmmathmlenumtypes.h +0 -90
  75. data/ext/mathematical/lsmmathmlenumtypes.h.template +0 -26
  76. data/ext/mathematical/lsmmathmlerrorelement.c +0 -58
  77. data/ext/mathematical/lsmmathmlerrorelement.h +0 -56
  78. data/ext/mathematical/lsmmathmlfencedelement.c +0 -178
  79. data/ext/mathematical/lsmmathmlfencedelement.h +0 -65
  80. data/ext/mathematical/lsmmathmlfractionelement.c +0 -253
  81. data/ext/mathematical/lsmmathmlfractionelement.h +0 -62
  82. data/ext/mathematical/lsmmathmlglyphtableams.c +0 -597
  83. data/ext/mathematical/lsmmathmlglyphtableams.h +0 -45
  84. data/ext/mathematical/lsmmathmlitexelement.c +0 -187
  85. data/ext/mathematical/lsmmathmlitexelement.h +0 -60
  86. data/ext/mathematical/lsmmathmllayoututils.c +0 -191
  87. data/ext/mathematical/lsmmathmllayoututils.h +0 -58
  88. data/ext/mathematical/lsmmathmlmathelement.c +0 -204
  89. data/ext/mathematical/lsmmathmlmathelement.h +0 -81
  90. data/ext/mathematical/lsmmathmloperatordictionary.c +0 -3332
  91. data/ext/mathematical/lsmmathmloperatordictionary.h +0 -54
  92. data/ext/mathematical/lsmmathmloperatorelement.c +0 -307
  93. data/ext/mathematical/lsmmathmloperatorelement.h +0 -73
  94. data/ext/mathematical/lsmmathmlpaddedelement.c +0 -58
  95. data/ext/mathematical/lsmmathmlpaddedelement.h +0 -56
  96. data/ext/mathematical/lsmmathmlphantomelement.c +0 -71
  97. data/ext/mathematical/lsmmathmlphantomelement.h +0 -56
  98. data/ext/mathematical/lsmmathmlpresentationcontainer.c +0 -43
  99. data/ext/mathematical/lsmmathmlpresentationcontainer.h +0 -54
  100. data/ext/mathematical/lsmmathmlpresentationtoken.c +0 -303
  101. data/ext/mathematical/lsmmathmlpresentationtoken.h +0 -83
  102. data/ext/mathematical/lsmmathmlradicalelement.c +0 -266
  103. data/ext/mathematical/lsmmathmlradicalelement.h +0 -71
  104. data/ext/mathematical/lsmmathmlrowelement.c +0 -58
  105. data/ext/mathematical/lsmmathmlrowelement.h +0 -56
  106. data/ext/mathematical/lsmmathmlscriptelement.c +0 -282
  107. data/ext/mathematical/lsmmathmlscriptelement.h +0 -78
  108. data/ext/mathematical/lsmmathmlsemanticselement.c +0 -82
  109. data/ext/mathematical/lsmmathmlsemanticselement.h +0 -56
  110. data/ext/mathematical/lsmmathmlspaceelement.c +0 -142
  111. data/ext/mathematical/lsmmathmlspaceelement.h +0 -60
  112. data/ext/mathematical/lsmmathmlstringelement.c +0 -123
  113. data/ext/mathematical/lsmmathmlstringelement.h +0 -58
  114. data/ext/mathematical/lsmmathmlstyle.c +0 -130
  115. data/ext/mathematical/lsmmathmlstyle.h +0 -81
  116. data/ext/mathematical/lsmmathmlstyleelement.c +0 -307
  117. data/ext/mathematical/lsmmathmlstyleelement.h +0 -87
  118. data/ext/mathematical/lsmmathmltablecellelement.c +0 -122
  119. data/ext/mathematical/lsmmathmltablecellelement.h +0 -62
  120. data/ext/mathematical/lsmmathmltableelement.c +0 -545
  121. data/ext/mathematical/lsmmathmltableelement.h +0 -78
  122. data/ext/mathematical/lsmmathmltablerowelement.c +0 -120
  123. data/ext/mathematical/lsmmathmltablerowelement.h +0 -64
  124. data/ext/mathematical/lsmmathmltraits.c +0 -819
  125. data/ext/mathematical/lsmmathmltraits.h +0 -119
  126. data/ext/mathematical/lsmmathmltypes.h +0 -66
  127. data/ext/mathematical/lsmmathmlunderoverelement.c +0 -485
  128. data/ext/mathematical/lsmmathmlunderoverelement.h +0 -82
  129. data/ext/mathematical/lsmmathmlutils.c +0 -170
  130. data/ext/mathematical/lsmmathmlutils.h +0 -50
  131. data/ext/mathematical/lsmmathmlview.c +0 -1048
  132. data/ext/mathematical/lsmmathmlview.h +0 -164
  133. data/ext/mathematical/lsmproperties.c +0 -418
  134. data/ext/mathematical/lsmproperties.h +0 -85
  135. data/ext/mathematical/lsmstr.c +0 -231
  136. data/ext/mathematical/lsmstr.h +0 -114
  137. data/ext/mathematical/lsmsvg.h +0 -67
  138. data/ext/mathematical/lsmsvgaelement.c +0 -73
  139. data/ext/mathematical/lsmsvgaelement.h +0 -55
  140. data/ext/mathematical/lsmsvgattributes.h +0 -113
  141. data/ext/mathematical/lsmsvgcircleelement.c +0 -153
  142. data/ext/mathematical/lsmsvgcircleelement.h +0 -59
  143. data/ext/mathematical/lsmsvgclippathelement.c +0 -134
  144. data/ext/mathematical/lsmsvgclippathelement.h +0 -59
  145. data/ext/mathematical/lsmsvgcolors.c +0 -212
  146. data/ext/mathematical/lsmsvgcolors.h +0 -39
  147. data/ext/mathematical/lsmsvgdefselement.c +0 -74
  148. data/ext/mathematical/lsmsvgdefselement.h +0 -55
  149. data/ext/mathematical/lsmsvgdocument.c +0 -230
  150. data/ext/mathematical/lsmsvgdocument.h +0 -58
  151. data/ext/mathematical/lsmsvgelement.c +0 -367
  152. data/ext/mathematical/lsmsvgelement.h +0 -81
  153. data/ext/mathematical/lsmsvgellipseelement.c +0 -158
  154. data/ext/mathematical/lsmsvgellipseelement.h +0 -60
  155. data/ext/mathematical/lsmsvgenums.c +0 -544
  156. data/ext/mathematical/lsmsvgenums.h +0 -357
  157. data/ext/mathematical/lsmsvgenumtypes.c +0 -1083
  158. data/ext/mathematical/lsmsvgenumtypes.c.template +0 -39
  159. data/ext/mathematical/lsmsvgenumtypes.h +0 -111
  160. data/ext/mathematical/lsmsvgenumtypes.h.template +0 -26
  161. data/ext/mathematical/lsmsvgfilterblend.c +0 -105
  162. data/ext/mathematical/lsmsvgfilterblend.h +0 -58
  163. data/ext/mathematical/lsmsvgfiltercomposite.c +0 -109
  164. data/ext/mathematical/lsmsvgfiltercomposite.h +0 -58
  165. data/ext/mathematical/lsmsvgfilterelement.c +0 -266
  166. data/ext/mathematical/lsmsvgfilterelement.h +0 -66
  167. data/ext/mathematical/lsmsvgfilterflood.c +0 -86
  168. data/ext/mathematical/lsmsvgfilterflood.h +0 -55
  169. data/ext/mathematical/lsmsvgfiltergaussianblur.c +0 -114
  170. data/ext/mathematical/lsmsvgfiltergaussianblur.h +0 -57
  171. data/ext/mathematical/lsmsvgfiltermerge.c +0 -98
  172. data/ext/mathematical/lsmsvgfiltermerge.h +0 -55
  173. data/ext/mathematical/lsmsvgfiltermergenode.c +0 -87
  174. data/ext/mathematical/lsmsvgfiltermergenode.h +0 -57
  175. data/ext/mathematical/lsmsvgfilteroffset.c +0 -112
  176. data/ext/mathematical/lsmsvgfilteroffset.h +0 -58
  177. data/ext/mathematical/lsmsvgfilterprimitive.c +0 -168
  178. data/ext/mathematical/lsmsvgfilterprimitive.h +0 -66
  179. data/ext/mathematical/lsmsvgfilterspecularlighting.c +0 -127
  180. data/ext/mathematical/lsmsvgfilterspecularlighting.h +0 -60
  181. data/ext/mathematical/lsmsvgfiltersurface.c +0 -455
  182. data/ext/mathematical/lsmsvgfiltersurface.h +0 -66
  183. data/ext/mathematical/lsmsvgfiltertile.c +0 -102
  184. data/ext/mathematical/lsmsvgfiltertile.h +0 -57
  185. data/ext/mathematical/lsmsvggelement.c +0 -73
  186. data/ext/mathematical/lsmsvggelement.h +0 -55
  187. data/ext/mathematical/lsmsvggradientelement.c +0 -151
  188. data/ext/mathematical/lsmsvggradientelement.h +0 -68
  189. data/ext/mathematical/lsmsvgimageelement.c +0 -261
  190. data/ext/mathematical/lsmsvgimageelement.h +0 -67
  191. data/ext/mathematical/lsmsvglength.c +0 -93
  192. data/ext/mathematical/lsmsvglength.h +0 -59
  193. data/ext/mathematical/lsmsvglineargradientelement.c +0 -271
  194. data/ext/mathematical/lsmsvglineargradientelement.h +0 -60
  195. data/ext/mathematical/lsmsvglineelement.c +0 -153
  196. data/ext/mathematical/lsmsvglineelement.h +0 -60
  197. data/ext/mathematical/lsmsvgmarkerelement.c +0 -266
  198. data/ext/mathematical/lsmsvgmarkerelement.h +0 -74
  199. data/ext/mathematical/lsmsvgmaskelement.c +0 -232
  200. data/ext/mathematical/lsmsvgmaskelement.h +0 -64
  201. data/ext/mathematical/lsmsvgmatrix.c +0 -205
  202. data/ext/mathematical/lsmsvgmatrix.h +0 -59
  203. data/ext/mathematical/lsmsvgpathelement.c +0 -115
  204. data/ext/mathematical/lsmsvgpathelement.h +0 -59
  205. data/ext/mathematical/lsmsvgpatternelement.c +0 -398
  206. data/ext/mathematical/lsmsvgpatternelement.h +0 -69
  207. data/ext/mathematical/lsmsvgpolygonelement.c +0 -106
  208. data/ext/mathematical/lsmsvgpolygonelement.h +0 -57
  209. data/ext/mathematical/lsmsvgpolylineelement.c +0 -106
  210. data/ext/mathematical/lsmsvgpolylineelement.h +0 -57
  211. data/ext/mathematical/lsmsvgradialgradientelement.c +0 -323
  212. data/ext/mathematical/lsmsvgradialgradientelement.h +0 -61
  213. data/ext/mathematical/lsmsvgrectelement.c +0 -184
  214. data/ext/mathematical/lsmsvgrectelement.h +0 -62
  215. data/ext/mathematical/lsmsvgstopelement.c +0 -106
  216. data/ext/mathematical/lsmsvgstopelement.h +0 -57
  217. data/ext/mathematical/lsmsvgstyle.c +0 -558
  218. data/ext/mathematical/lsmsvgstyle.h +0 -217
  219. data/ext/mathematical/lsmsvgsvgelement.c +0 -260
  220. data/ext/mathematical/lsmsvgsvgelement.h +0 -71
  221. data/ext/mathematical/lsmsvgswitchelement.c +0 -103
  222. data/ext/mathematical/lsmsvgswitchelement.h +0 -55
  223. data/ext/mathematical/lsmsvgsymbolelement.c +0 -74
  224. data/ext/mathematical/lsmsvgsymbolelement.h +0 -55
  225. data/ext/mathematical/lsmsvgtextelement.c +0 -170
  226. data/ext/mathematical/lsmsvgtextelement.h +0 -58
  227. data/ext/mathematical/lsmsvgtraits.c +0 -1158
  228. data/ext/mathematical/lsmsvgtraits.h +0 -103
  229. data/ext/mathematical/lsmsvgtransformable.c +0 -106
  230. data/ext/mathematical/lsmsvgtransformable.h +0 -54
  231. data/ext/mathematical/lsmsvgtspanelement.c +0 -143
  232. data/ext/mathematical/lsmsvgtspanelement.h +0 -58
  233. data/ext/mathematical/lsmsvgtypes.h +0 -77
  234. data/ext/mathematical/lsmsvguseelement.c +0 -237
  235. data/ext/mathematical/lsmsvguseelement.h +0 -69
  236. data/ext/mathematical/lsmsvgview.c +0 -2400
  237. data/ext/mathematical/lsmsvgview.h +0 -168
  238. data/ext/mathematical/lsmtraits.c +0 -119
  239. data/ext/mathematical/lsmtraits.h +0 -49
  240. data/ext/mathematical/lsmtypes.h +0 -36
  241. data/ext/mathematical/lsmutils.c +0 -54
  242. data/ext/mathematical/lsmutils.h +0 -56
  243. data/ext/mathematical/mathematical.c +0 -122
  244. data/ext/mathematical/y.tab.c +0 -6179
  245. data/ext/mathematical/y.tab.h +0 -389
  246. data/script/bench +0 -21
  247. data/script/bootstrap +0 -9
  248. data/script/single_test +0 -7
  249. data/test/mathematical/basic_test.rb +0 -38
  250. data/test/mathematical/fixtures/after/brackets_display.html +0 -1
  251. data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
  252. data/test/mathematical/fixtures/after/equation_display.html +0 -1
  253. data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
  254. data/test/mathematical/fixtures/after/parens_inline.html +0 -1
  255. data/test/mathematical/fixtures/before/brackets_display.text +0 -1
  256. data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
  257. data/test/mathematical/fixtures/before/equation_display.text +0 -1
  258. data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
  259. data/test/mathematical/fixtures/before/parens_inline.text +0 -1
  260. data/test/mathematical/fixtures/performance/big_file.text +0 -1767
  261. data/test/mathematical/fixtures_test.rb +0 -31
  262. data/test/mathematical/performance_test.rb +0 -13
  263. data/test/test_helper.rb +0 -4
@@ -1,357 +0,0 @@
1
- /* Lasem
2
- *
3
- * Copyright © 2009 Emmanuel Pacaud
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General
16
- * Public License along with this library; if not, write to the
17
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18
- * Boston, MA 02111-1307, USA.
19
- *
20
- * Author:
21
- * Emmanuel Pacaud <emmanuel@gnome.org>
22
- */
23
-
24
- #ifndef LSM_SVG_ENUMS_H
25
- #define LSM_SVG_ENUMS_H
26
-
27
- #include <glib-object.h>
28
- #include <lsmtypes.h>
29
-
30
- G_BEGIN_DECLS
31
-
32
- typedef enum {
33
- LSM_SVG_ANGLE_TYPE_ERROR = -1,
34
- LSM_SVG_ANGLE_TYPE_AUTO,
35
- LSM_SVG_ANGLE_TYPE_FIXED
36
- } LsmSvgAngleType;
37
-
38
- typedef enum {
39
- LSM_SVG_BLENDING_MODE_ERROR = -1,
40
- LSM_SVG_BLENDING_MODE_NORMAL,
41
- LSM_SVG_BLENDING_MODE_MULTIPLY,
42
- LSM_SVG_BLENDING_MODE_SCREEN,
43
- LSM_SVG_BLENDING_MODE_DARKEN,
44
- LSM_SVG_BLENDING_MODE_LIGHTEN,
45
- LSM_SVG_BLENDING_MODE_OVER,
46
- LSM_SVG_BLENDING_MODE_IN,
47
- LSM_SVG_BLENDING_MODE_OUT,
48
- LSM_SVG_BLENDING_MODE_ATOP,
49
- LSM_SVG_BLENDING_MODE_XOR
50
- } LsmSvgBlendingMode;
51
-
52
- const char * lsm_svg_blending_mode_to_string (LsmSvgBlendingMode blending_mode);
53
- LsmSvgBlendingMode lsm_svg_blending_mode_from_string (const char *string);
54
-
55
- typedef enum {
56
- LSM_SVG_ENABLE_BACKGROUND_ERROR = -1,
57
- LSM_SVG_ENABLE_BACKGROUND_ACCUMULATE,
58
- LSM_SVG_ENABLE_BACKGROUND_NEW
59
- } LsmSvgEnableBackground;
60
-
61
- const char * lsm_svg_enable_background_to_string (LsmSvgEnableBackground enable_background);
62
- LsmSvgEnableBackground lsm_svg_enable_background_from_string (const char *string);
63
-
64
- typedef enum {
65
- LSM_SVG_PAINT_TYPE_ERROR = -1,
66
- LSM_SVG_PAINT_TYPE_UNKNOWN = 0,
67
- LSM_SVG_PAINT_TYPE_RGB_COLOR,
68
- LSM_SVG_PAINT_TYPE_RGB_COLOR_ICC_COLOR,
69
- LSM_SVG_PAINT_TYPE_NONE = 101,
70
- LSM_SVG_PAINT_TYPE_CURRENT_COLOR,
71
- LSM_SVG_PAINT_TYPE_URI_NONE,
72
- LSM_SVG_PAINT_TYPE_URI_CURRENT_COLOR,
73
- LSM_SVG_PAINT_TYPE_URI_RGB_COLOR,
74
- LSM_SVG_PAINT_TYPE_URI_RGB_COLOR_ICC_COLOR,
75
- LSM_SVG_PAINT_TYPE_URI
76
- } LsmSvgPaintType;
77
-
78
- typedef enum {
79
- LSM_SVG_LENGTH_DIRECTION_ERROR = -1,
80
- LSM_SVG_LENGTH_DIRECTION_HORIZONTAL,
81
- LSM_SVG_LENGTH_DIRECTION_VERTICAL,
82
- LSM_SVG_LENGTH_DIRECTION_DIAGONAL
83
- } LsmSvgLengthDirection;
84
-
85
- typedef enum {
86
- LSM_SVG_LENGTH_TYPE_ERROR = -1,
87
- LSM_SVG_LENGTH_TYPE_NUMBER,
88
- LSM_SVG_LENGTH_TYPE_PERCENTAGE,
89
- LSM_SVG_LENGTH_TYPE_EMS,
90
- LSM_SVG_LENGTH_TYPE_EXS,
91
- LSM_SVG_LENGTH_TYPE_PX,
92
- LSM_SVG_LENGTH_TYPE_CM,
93
- LSM_SVG_LENGTH_TYPE_MM,
94
- LSM_SVG_LENGTH_TYPE_IN,
95
- LSM_SVG_LENGTH_TYPE_PT,
96
- LSM_SVG_LENGTH_TYPE_PC
97
- } LsmSvgLengthType;
98
-
99
- const char * lsm_svg_length_type_to_string (LsmSvgLengthType length_type);
100
- LsmSvgLengthType lsm_svg_length_type_from_string (const char *string);
101
-
102
- typedef enum {
103
- LSM_SVG_FILL_RULE_ERROR = -1,
104
- LSM_SVG_FILL_RULE_NON_ZERO,
105
- LSM_SVG_FILL_RULE_EVEN_ODD
106
- } LsmSvgFillRule;
107
-
108
- const char * lsm_svg_fill_rule_to_string (LsmSvgFillRule fill_rule);
109
- LsmSvgFillRule lsm_svg_fill_rule_from_string (const char *string);
110
-
111
- typedef enum {
112
- LSM_SVG_LINE_JOIN_ERROR = -1,
113
- LSM_SVG_LINE_JOIN_MITER,
114
- LSM_SVG_LINE_JOIN_ROUND,
115
- LSM_SVG_LINE_JOIN_BEVEL
116
- } LsmSvgLineJoin;
117
-
118
- const char * lsm_svg_line_join_to_string (LsmSvgLineJoin line_join);
119
- LsmSvgLineJoin lsm_svg_line_join_from_string (const char *string);
120
-
121
- typedef enum {
122
- LSM_SVG_LINE_CAP_ERROR = -1,
123
- LSM_SVG_LINE_CAP_BUTT,
124
- LSM_SVG_LINE_CAP_ROUND,
125
- LSM_SVG_LINE_CAP_SQUARE
126
- } LsmSvgLineCap;
127
-
128
- const char * lsm_svg_line_cap_to_string (LsmSvgLineCap line_cap);
129
- LsmSvgLineCap lsm_svg_line_cap_from_string (const char *string);
130
-
131
- typedef enum {
132
- LSM_SVG_TRANSFORM_TYPE_ERROR = -1,
133
- LSM_SVG_TRANSFORM_TYPE_MATRIX,
134
- LSM_SVG_TRANSFORM_TYPE_TRANSLATE,
135
- LSM_SVG_TRANSFORM_TYPE_SCALE,
136
- LSM_SVG_TRANSFORM_TYPE_ROTATE,
137
- LSM_SVG_TRANSFORM_TYPE_SKEW_X,
138
- LSM_SVG_TRANSFORM_TYPE_SKEW_Y
139
- } LsmSvgTransformType;
140
-
141
- typedef enum {
142
- LSM_SVG_OVERFLOW_ERROR = -1,
143
- LSM_SVG_OVERFLOW_VISIBLE,
144
- LSM_SVG_OVERFLOW_HIDDEN,
145
- LSM_SVG_OVERFLOW_SCROLL,
146
- LSM_SVG_OVERFLOW_AUTO
147
- } LsmSvgOverflow;
148
-
149
- const char * lsm_svg_overflow_to_string (LsmSvgOverflow overflow);
150
- LsmSvgOverflow lsm_svg_overflow_from_string (const char *string);
151
-
152
- typedef enum {
153
- LSM_SVG_PATTERN_UNITS_ERROR = -1,
154
- LSM_SVG_PATTERN_UNITS_USER_SPACE_ON_USE,
155
- LSM_SVG_PATTERN_UNITS_OBJECT_BOUNDING_BOX
156
- } LsmSvgPatternUnits;
157
-
158
- const char * lsm_svg_pattern_units_to_string (LsmSvgPatternUnits units);
159
- LsmSvgPatternUnits lsm_svg_pattern_units_from_string (const char *string);
160
-
161
- typedef enum {
162
- LSM_SVG_MARKER_UNITS_ERROR = -1,
163
- LSM_SVG_MARKER_UNITS_STROKE_WIDTH,
164
- LSM_SVG_MARKER_UNITS_USER_SPACE_ON_USE
165
- } LsmSvgMarkerUnits;
166
-
167
- const char * lsm_svg_marker_units_to_string (LsmSvgMarkerUnits units);
168
- LsmSvgMarkerUnits lsm_svg_marker_units_from_string (const char *string);
169
-
170
- typedef enum {
171
- LSM_SVG_SPREAD_METHOD_ERROR = -1,
172
- LSM_SVG_SPREAD_METHOD_PAD,
173
- LSM_SVG_SPREAD_METHOD_REFLECT,
174
- LSM_SVG_SPREAD_METHOD_REPEAT
175
- } LsmSvgSpreadMethod;
176
-
177
- const char * lsm_svg_spread_method_to_string (LsmSvgSpreadMethod method);
178
- LsmSvgSpreadMethod lsm_svg_spread_method_from_string (const char *string);
179
-
180
- typedef enum {
181
- LSM_SVG_ALIGN_ERROR = -1,
182
- LSM_SVG_ALIGN_NONE,
183
- LSM_SVG_ALIGN_X_MIN_Y_MIN,
184
- LSM_SVG_ALIGN_X_MID_Y_MIN,
185
- LSM_SVG_ALIGN_X_MAX_Y_MIN,
186
- LSM_SVG_ALIGN_X_MIN_Y_MID,
187
- LSM_SVG_ALIGN_X_MID_Y_MID,
188
- LSM_SVG_ALIGN_X_MAX_Y_MID,
189
- LSM_SVG_ALIGN_X_MIN_Y_MAX,
190
- LSM_SVG_ALIGN_X_MID_Y_MAX,
191
- LSM_SVG_ALIGN_X_MAX_Y_MAX
192
- } LsmSvgAlign;
193
-
194
- const char * lsm_svg_align_to_string (LsmSvgAlign align);
195
- LsmSvgAlign lsm_svg_align_from_string (const char *string);
196
-
197
- typedef enum {
198
- LSM_SVG_MEET_OR_SLICE_ERROR = -1,
199
- LSM_SVG_MEET_OR_SLICE_MEET,
200
- LSM_SVG_MEET_OR_SLICE_SLICE
201
- } LsmSvgMeetOrSlice;
202
-
203
- const char * lsm_svg_meet_or_slice_to_string (LsmSvgMeetOrSlice meet_or_slice);
204
- LsmSvgMeetOrSlice lsm_svg_meet_or_slice_from_string (const char *string);
205
-
206
- typedef enum {
207
- LSM_SVG_COMP_OP_ERROR = -1,
208
- LSM_SVG_COMP_OP_CLEAR,
209
- LSM_SVG_COMP_OP_SRC,
210
- LSM_SVG_COMP_OP_DST,
211
- LSM_SVG_COMP_OP_SRC_OVER,
212
- LSM_SVG_COMP_OP_DST_OVER,
213
- LSM_SVG_COMP_OP_SRC_IN,
214
- LSM_SVG_COMP_OP_DST_IN,
215
- LSM_SVG_COMP_OP_SRC_OUT,
216
- LSM_SVG_COMP_OP_DST_OUT,
217
- LSM_SVG_COMP_OP_SRC_ATOP,
218
- LSM_SVG_COMP_OP_DST_ATOP,
219
- LSM_SVG_COMP_OP_XOR,
220
- LSM_SVG_COMP_OP_PLUS,
221
- LSM_SVG_COMP_OP_MULTIPLY,
222
- LSM_SVG_COMP_OP_SCREEN,
223
- LSM_SVG_COMP_OP_OVERLAY,
224
- LSM_SVG_COMP_OP_DARKEN,
225
- LSM_SVG_COMP_OP_LIGHTEN,
226
- LSM_SVG_COMP_OP_COLOR_DODGE,
227
- LSM_SVG_COMP_OP_COLOR_BURN,
228
- LSM_SVG_COMP_OP_HARD_LIGHT,
229
- LSM_SVG_COMP_OP_SOFT_LIGHT,
230
- LSM_SVG_COMP_OP_DIFFERENCE,
231
- LSM_SVG_COMP_OP_EXCLUSION
232
- } LsmSvgCompOp;
233
-
234
- const char * lsm_svg_comp_op_to_string (LsmSvgCompOp comp_op);
235
- LsmSvgCompOp lsm_svg_comp_op_from_string (const char *string);
236
-
237
- typedef enum {
238
- LSM_SVG_FONT_STRETCH_ERROR = -1,
239
- LSM_SVG_FONT_STRETCH_NORMAL,
240
- LSM_SVG_FONT_STRETCH_ULTRA_CONDENSED,
241
- LSM_SVG_FONT_STRETCH_EXTRA_CONDENSED,
242
- LSM_SVG_FONT_STRETCH_CONDENSED,
243
- LSM_SVG_FONT_STRETCH_SEMI_CONDENSED,
244
- LSM_SVG_FONT_STRETCH_SEMI_EXPANDED,
245
- LSM_SVG_FONT_STRETCH_EXPANDED,
246
- LSM_SVG_FONT_STRETCH_EXTRA_EXPANDED,
247
- LSM_SVG_FONT_STRETCH_ULTRA_EXPANDED
248
- } LsmSvgFontStretch;
249
-
250
- const char * lsm_svg_font_stretch_to_string (LsmSvgFontStretch font_stretch);
251
- LsmSvgFontStretch lsm_svg_font_stretch_from_string (const char *string);
252
-
253
- typedef enum {
254
- LSM_SVG_FONT_STYLE_ERROR = -1,
255
- LSM_SVG_FONT_STYLE_NORMAL,
256
- LSM_SVG_FONT_STYLE_OBLIQUE,
257
- LSM_SVG_FONT_STYLE_ITALIC
258
- } LsmSvgFontStyle;
259
-
260
- const char * lsm_svg_font_style_to_string (LsmSvgFontStyle font_style);
261
- LsmSvgFontStyle lsm_svg_font_style_from_string (const char *string);
262
-
263
- typedef enum {
264
- LSM_SVG_FONT_WEIGHT_ERROR = -1,
265
- LSM_SVG_FONT_WEIGHT_NORMAL = 400,
266
- LSM_SVG_FONT_WEIGHT_BOLD = 700
267
- } LsmSvgFontWeight;
268
-
269
- const char * lsm_svg_font_weight_to_string (LsmSvgFontWeight font_weight);
270
- LsmSvgFontWeight lsm_svg_font_weight_from_string (const char *string);
271
-
272
- typedef enum {
273
- LSM_SVG_TEXT_ANCHOR_ERROR = -1,
274
- LSM_SVG_TEXT_ANCHOR_START,
275
- LSM_SVG_TEXT_ANCHOR_MIDDLE,
276
- LSM_SVG_TEXT_ANCHOR_END
277
- } LsmSvgTextAnchor;
278
-
279
- const char * lsm_svg_text_anchor_to_string (LsmSvgTextAnchor text_anchor);
280
- LsmSvgTextAnchor lsm_svg_text_anchor_from_string (const char *string);
281
-
282
- typedef enum {
283
- LSM_SVG_FILTER_INPUT_ERROR = -1,
284
- LSM_SVG_FILTER_INPUT_SOURCE_GRAPHIC,
285
- LSM_SVG_FILTER_INPUT_SOURCE_ALPHA,
286
- LSM_SVG_FILTER_INPUT_BACKGROUND_IMAGE,
287
- LSM_SVG_FILTER_INPUT_BACKGROUND_ALPHA,
288
- LSM_SVG_FILTER_INPUT_FILL_PAINT,
289
- LSM_SVG_FILTER_INPUT_STROKE_PAINT
290
- } LsmSvgFilterInput;
291
-
292
- typedef enum {
293
- LSM_SVG_DISPLAY_ERROR = -1,
294
- LSM_SVG_DISPLAY_NONE,
295
- LSM_SVG_DISPLAY_INLINE,
296
- LSM_SVG_DISPLAY_BLOCK,
297
- LSM_SVG_DISPLAY_LIST_ITEM,
298
- LSM_SVG_DISPLAY_RUN_IN,
299
- LSM_SVG_DISPLAY_COMPACT,
300
- LSM_SVG_DISPLAY_MARKER,
301
- LSM_SVG_DISPLAY_TABLE,
302
- LSM_SVG_DISPLAY_INLINE_TABLE,
303
- LSM_SVG_DISPLAY_TABLE_ROW_GROUP,
304
- LSM_SVG_DISPLAY_TABLE_HEADER_GROUP,
305
- LSM_SVG_DISPLAY_TABLE_FOOTER_GROUP,
306
- LSM_SVG_DISPLAY_TABLE_ROW,
307
- LSM_SVG_DISPLAY_TABLE_COLUMN_GROUP,
308
- LSM_SVG_DISPLAY_TABLE_COLUMN,
309
- LSM_SVG_DISPLAY_TABLE_CELL,
310
- LSM_SVG_DISPLAY_TABLE_CAPTION
311
- } LsmSvgDisplay;
312
-
313
- const char * lsm_svg_display_to_string (LsmSvgDisplay display);
314
- LsmSvgDisplay lsm_svg_display_from_string (const char *string);
315
-
316
- typedef enum {
317
- LSM_SVG_VISIBILITY_ERROR = -1,
318
- LSM_SVG_VISIBILITY_VISIBLE,
319
- LSM_SVG_VISIBILITY_HIDDEN,
320
- LSM_SVG_VISIBILITY_COLLAPSE
321
- } LsmSvgVisibility;
322
-
323
- const char * lsm_svg_visibility_to_string (LsmSvgVisibility visibility);
324
- LsmSvgVisibility lsm_svg_visibility_from_string (const char *string);
325
-
326
- typedef enum {
327
- LSM_SVG_ELEMENT_CATEGORY_NONE = 1 << 0,
328
- LSM_SVG_ELEMENT_CATEGORY_DESCRIPTIVE = 1 << 1,
329
- LSM_SVG_ELEMENT_CATEGORY_CONTAINER = 1 << 2,
330
- LSM_SVG_ELEMENT_CATEGORY_STRUCTURAL = 1 << 3,
331
- LSM_SVG_ELEMENT_CATEGORY_GRAPHICS_REFERENCING = 1 << 4,
332
- LSM_SVG_ELEMENT_CATEGORY_GRAPHICS = 1 << 5,
333
- LSM_SVG_ELEMENT_CATEGORY_SHAPE = 1 << 6,
334
- LSM_SVG_ELEMENT_CATEGORY_BASIC_SHAPE = 1 << 7,
335
- LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT = 1 << 8,
336
- LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT_CHILD = 1 << 9,
337
- LSM_SVG_ELEMENT_CATEGORY_GRADIENT = 1 << 10,
338
- LSM_SVG_ELEMENT_CATEGORY_FILTER_PRIMITIVE = 1 << 11,
339
- LSM_SVG_ELEMENT_CATEGORY_ANIMATION = 1 << 12
340
- } LsmSvgElementCategory;
341
-
342
- typedef enum {
343
- LSM_SVG_WRITING_MODE_ERROR = -1,
344
- LSM_SVG_WRITING_MODE_LR_TB,
345
- LSM_SVG_WRITING_MODE_RL_TB,
346
- LSM_SVG_WRITING_MODE_TB_RL,
347
- LSM_SVG_WRITING_MODE_LR,
348
- LSM_SVG_WRITING_MODE_RL,
349
- LSM_SVG_WRITING_MODE_TB
350
- } LsmSvgWritingMode;
351
-
352
- const char * lsm_svg_writing_mode_to_string (LsmSvgWritingMode writing_mode);
353
- LsmSvgWritingMode lsm_svg_writing_mode_from_string (const char *string);
354
-
355
- G_END_DECLS
356
-
357
- #endif
@@ -1,1083 +0,0 @@
1
-
2
- /* Generated data (by glib-mkenums) */
3
-
4
- #include "lsmsvgenumtypes.h"
5
-
6
- /* enumerations from "lsmsvgenums.h" */
7
- #include "lsmsvgenums.h"
8
-
9
- GType
10
- lsm_svg_angle_type_get_type (void)
11
- {
12
- static GType the_type = 0;
13
-
14
- if (the_type == 0)
15
- {
16
- static const GEnumValue values[] = {
17
- { LSM_SVG_ANGLE_TYPE_ERROR,
18
- "LSM_SVG_ANGLE_TYPE_ERROR",
19
- "error" },
20
- { LSM_SVG_ANGLE_TYPE_AUTO,
21
- "LSM_SVG_ANGLE_TYPE_AUTO",
22
- "auto" },
23
- { LSM_SVG_ANGLE_TYPE_FIXED,
24
- "LSM_SVG_ANGLE_TYPE_FIXED",
25
- "fixed" },
26
- { 0, NULL, NULL }
27
- };
28
- the_type = g_enum_register_static (
29
- g_intern_static_string ("LsmSvgAngleType"),
30
- values);
31
- }
32
- return the_type;
33
- }
34
-
35
- GType
36
- lsm_svg_blending_mode_get_type (void)
37
- {
38
- static GType the_type = 0;
39
-
40
- if (the_type == 0)
41
- {
42
- static const GEnumValue values[] = {
43
- { LSM_SVG_BLENDING_MODE_ERROR,
44
- "LSM_SVG_BLENDING_MODE_ERROR",
45
- "error" },
46
- { LSM_SVG_BLENDING_MODE_NORMAL,
47
- "LSM_SVG_BLENDING_MODE_NORMAL",
48
- "normal" },
49
- { LSM_SVG_BLENDING_MODE_MULTIPLY,
50
- "LSM_SVG_BLENDING_MODE_MULTIPLY",
51
- "multiply" },
52
- { LSM_SVG_BLENDING_MODE_SCREEN,
53
- "LSM_SVG_BLENDING_MODE_SCREEN",
54
- "screen" },
55
- { LSM_SVG_BLENDING_MODE_DARKEN,
56
- "LSM_SVG_BLENDING_MODE_DARKEN",
57
- "darken" },
58
- { LSM_SVG_BLENDING_MODE_LIGHTEN,
59
- "LSM_SVG_BLENDING_MODE_LIGHTEN",
60
- "lighten" },
61
- { LSM_SVG_BLENDING_MODE_OVER,
62
- "LSM_SVG_BLENDING_MODE_OVER",
63
- "over" },
64
- { LSM_SVG_BLENDING_MODE_IN,
65
- "LSM_SVG_BLENDING_MODE_IN",
66
- "in" },
67
- { LSM_SVG_BLENDING_MODE_OUT,
68
- "LSM_SVG_BLENDING_MODE_OUT",
69
- "out" },
70
- { LSM_SVG_BLENDING_MODE_ATOP,
71
- "LSM_SVG_BLENDING_MODE_ATOP",
72
- "atop" },
73
- { LSM_SVG_BLENDING_MODE_XOR,
74
- "LSM_SVG_BLENDING_MODE_XOR",
75
- "xor" },
76
- { 0, NULL, NULL }
77
- };
78
- the_type = g_enum_register_static (
79
- g_intern_static_string ("LsmSvgBlendingMode"),
80
- values);
81
- }
82
- return the_type;
83
- }
84
-
85
- GType
86
- lsm_svg_enable_background_get_type (void)
87
- {
88
- static GType the_type = 0;
89
-
90
- if (the_type == 0)
91
- {
92
- static const GEnumValue values[] = {
93
- { LSM_SVG_ENABLE_BACKGROUND_ERROR,
94
- "LSM_SVG_ENABLE_BACKGROUND_ERROR",
95
- "error" },
96
- { LSM_SVG_ENABLE_BACKGROUND_ACCUMULATE,
97
- "LSM_SVG_ENABLE_BACKGROUND_ACCUMULATE",
98
- "accumulate" },
99
- { LSM_SVG_ENABLE_BACKGROUND_NEW,
100
- "LSM_SVG_ENABLE_BACKGROUND_NEW",
101
- "new" },
102
- { 0, NULL, NULL }
103
- };
104
- the_type = g_enum_register_static (
105
- g_intern_static_string ("LsmSvgEnableBackground"),
106
- values);
107
- }
108
- return the_type;
109
- }
110
-
111
- GType
112
- lsm_svg_paint_type_get_type (void)
113
- {
114
- static GType the_type = 0;
115
-
116
- if (the_type == 0)
117
- {
118
- static const GEnumValue values[] = {
119
- { LSM_SVG_PAINT_TYPE_ERROR,
120
- "LSM_SVG_PAINT_TYPE_ERROR",
121
- "error" },
122
- { LSM_SVG_PAINT_TYPE_UNKNOWN,
123
- "LSM_SVG_PAINT_TYPE_UNKNOWN",
124
- "unknown" },
125
- { LSM_SVG_PAINT_TYPE_RGB_COLOR,
126
- "LSM_SVG_PAINT_TYPE_RGB_COLOR",
127
- "rgb-color" },
128
- { LSM_SVG_PAINT_TYPE_RGB_COLOR_ICC_COLOR,
129
- "LSM_SVG_PAINT_TYPE_RGB_COLOR_ICC_COLOR",
130
- "rgb-color-icc-color" },
131
- { LSM_SVG_PAINT_TYPE_NONE,
132
- "LSM_SVG_PAINT_TYPE_NONE",
133
- "none" },
134
- { LSM_SVG_PAINT_TYPE_CURRENT_COLOR,
135
- "LSM_SVG_PAINT_TYPE_CURRENT_COLOR",
136
- "current-color" },
137
- { LSM_SVG_PAINT_TYPE_URI_NONE,
138
- "LSM_SVG_PAINT_TYPE_URI_NONE",
139
- "uri-none" },
140
- { LSM_SVG_PAINT_TYPE_URI_CURRENT_COLOR,
141
- "LSM_SVG_PAINT_TYPE_URI_CURRENT_COLOR",
142
- "uri-current-color" },
143
- { LSM_SVG_PAINT_TYPE_URI_RGB_COLOR,
144
- "LSM_SVG_PAINT_TYPE_URI_RGB_COLOR",
145
- "uri-rgb-color" },
146
- { LSM_SVG_PAINT_TYPE_URI_RGB_COLOR_ICC_COLOR,
147
- "LSM_SVG_PAINT_TYPE_URI_RGB_COLOR_ICC_COLOR",
148
- "uri-rgb-color-icc-color" },
149
- { LSM_SVG_PAINT_TYPE_URI,
150
- "LSM_SVG_PAINT_TYPE_URI",
151
- "uri" },
152
- { 0, NULL, NULL }
153
- };
154
- the_type = g_enum_register_static (
155
- g_intern_static_string ("LsmSvgPaintType"),
156
- values);
157
- }
158
- return the_type;
159
- }
160
-
161
- GType
162
- lsm_svg_length_direction_get_type (void)
163
- {
164
- static GType the_type = 0;
165
-
166
- if (the_type == 0)
167
- {
168
- static const GEnumValue values[] = {
169
- { LSM_SVG_LENGTH_DIRECTION_ERROR,
170
- "LSM_SVG_LENGTH_DIRECTION_ERROR",
171
- "error" },
172
- { LSM_SVG_LENGTH_DIRECTION_HORIZONTAL,
173
- "LSM_SVG_LENGTH_DIRECTION_HORIZONTAL",
174
- "horizontal" },
175
- { LSM_SVG_LENGTH_DIRECTION_VERTICAL,
176
- "LSM_SVG_LENGTH_DIRECTION_VERTICAL",
177
- "vertical" },
178
- { LSM_SVG_LENGTH_DIRECTION_DIAGONAL,
179
- "LSM_SVG_LENGTH_DIRECTION_DIAGONAL",
180
- "diagonal" },
181
- { 0, NULL, NULL }
182
- };
183
- the_type = g_enum_register_static (
184
- g_intern_static_string ("LsmSvgLengthDirection"),
185
- values);
186
- }
187
- return the_type;
188
- }
189
-
190
- GType
191
- lsm_svg_length_type_get_type (void)
192
- {
193
- static GType the_type = 0;
194
-
195
- if (the_type == 0)
196
- {
197
- static const GEnumValue values[] = {
198
- { LSM_SVG_LENGTH_TYPE_ERROR,
199
- "LSM_SVG_LENGTH_TYPE_ERROR",
200
- "error" },
201
- { LSM_SVG_LENGTH_TYPE_NUMBER,
202
- "LSM_SVG_LENGTH_TYPE_NUMBER",
203
- "number" },
204
- { LSM_SVG_LENGTH_TYPE_PERCENTAGE,
205
- "LSM_SVG_LENGTH_TYPE_PERCENTAGE",
206
- "percentage" },
207
- { LSM_SVG_LENGTH_TYPE_EMS,
208
- "LSM_SVG_LENGTH_TYPE_EMS",
209
- "ems" },
210
- { LSM_SVG_LENGTH_TYPE_EXS,
211
- "LSM_SVG_LENGTH_TYPE_EXS",
212
- "exs" },
213
- { LSM_SVG_LENGTH_TYPE_PX,
214
- "LSM_SVG_LENGTH_TYPE_PX",
215
- "px" },
216
- { LSM_SVG_LENGTH_TYPE_CM,
217
- "LSM_SVG_LENGTH_TYPE_CM",
218
- "cm" },
219
- { LSM_SVG_LENGTH_TYPE_MM,
220
- "LSM_SVG_LENGTH_TYPE_MM",
221
- "mm" },
222
- { LSM_SVG_LENGTH_TYPE_IN,
223
- "LSM_SVG_LENGTH_TYPE_IN",
224
- "in" },
225
- { LSM_SVG_LENGTH_TYPE_PT,
226
- "LSM_SVG_LENGTH_TYPE_PT",
227
- "pt" },
228
- { LSM_SVG_LENGTH_TYPE_PC,
229
- "LSM_SVG_LENGTH_TYPE_PC",
230
- "pc" },
231
- { 0, NULL, NULL }
232
- };
233
- the_type = g_enum_register_static (
234
- g_intern_static_string ("LsmSvgLengthType"),
235
- values);
236
- }
237
- return the_type;
238
- }
239
-
240
- GType
241
- lsm_svg_fill_rule_get_type (void)
242
- {
243
- static GType the_type = 0;
244
-
245
- if (the_type == 0)
246
- {
247
- static const GEnumValue values[] = {
248
- { LSM_SVG_FILL_RULE_ERROR,
249
- "LSM_SVG_FILL_RULE_ERROR",
250
- "error" },
251
- { LSM_SVG_FILL_RULE_NON_ZERO,
252
- "LSM_SVG_FILL_RULE_NON_ZERO",
253
- "non-zero" },
254
- { LSM_SVG_FILL_RULE_EVEN_ODD,
255
- "LSM_SVG_FILL_RULE_EVEN_ODD",
256
- "even-odd" },
257
- { 0, NULL, NULL }
258
- };
259
- the_type = g_enum_register_static (
260
- g_intern_static_string ("LsmSvgFillRule"),
261
- values);
262
- }
263
- return the_type;
264
- }
265
-
266
- GType
267
- lsm_svg_line_join_get_type (void)
268
- {
269
- static GType the_type = 0;
270
-
271
- if (the_type == 0)
272
- {
273
- static const GEnumValue values[] = {
274
- { LSM_SVG_LINE_JOIN_ERROR,
275
- "LSM_SVG_LINE_JOIN_ERROR",
276
- "error" },
277
- { LSM_SVG_LINE_JOIN_MITER,
278
- "LSM_SVG_LINE_JOIN_MITER",
279
- "miter" },
280
- { LSM_SVG_LINE_JOIN_ROUND,
281
- "LSM_SVG_LINE_JOIN_ROUND",
282
- "round" },
283
- { LSM_SVG_LINE_JOIN_BEVEL,
284
- "LSM_SVG_LINE_JOIN_BEVEL",
285
- "bevel" },
286
- { 0, NULL, NULL }
287
- };
288
- the_type = g_enum_register_static (
289
- g_intern_static_string ("LsmSvgLineJoin"),
290
- values);
291
- }
292
- return the_type;
293
- }
294
-
295
- GType
296
- lsm_svg_line_cap_get_type (void)
297
- {
298
- static GType the_type = 0;
299
-
300
- if (the_type == 0)
301
- {
302
- static const GEnumValue values[] = {
303
- { LSM_SVG_LINE_CAP_ERROR,
304
- "LSM_SVG_LINE_CAP_ERROR",
305
- "error" },
306
- { LSM_SVG_LINE_CAP_BUTT,
307
- "LSM_SVG_LINE_CAP_BUTT",
308
- "butt" },
309
- { LSM_SVG_LINE_CAP_ROUND,
310
- "LSM_SVG_LINE_CAP_ROUND",
311
- "round" },
312
- { LSM_SVG_LINE_CAP_SQUARE,
313
- "LSM_SVG_LINE_CAP_SQUARE",
314
- "square" },
315
- { 0, NULL, NULL }
316
- };
317
- the_type = g_enum_register_static (
318
- g_intern_static_string ("LsmSvgLineCap"),
319
- values);
320
- }
321
- return the_type;
322
- }
323
-
324
- GType
325
- lsm_svg_transform_type_get_type (void)
326
- {
327
- static GType the_type = 0;
328
-
329
- if (the_type == 0)
330
- {
331
- static const GEnumValue values[] = {
332
- { LSM_SVG_TRANSFORM_TYPE_ERROR,
333
- "LSM_SVG_TRANSFORM_TYPE_ERROR",
334
- "error" },
335
- { LSM_SVG_TRANSFORM_TYPE_MATRIX,
336
- "LSM_SVG_TRANSFORM_TYPE_MATRIX",
337
- "matrix" },
338
- { LSM_SVG_TRANSFORM_TYPE_TRANSLATE,
339
- "LSM_SVG_TRANSFORM_TYPE_TRANSLATE",
340
- "translate" },
341
- { LSM_SVG_TRANSFORM_TYPE_SCALE,
342
- "LSM_SVG_TRANSFORM_TYPE_SCALE",
343
- "scale" },
344
- { LSM_SVG_TRANSFORM_TYPE_ROTATE,
345
- "LSM_SVG_TRANSFORM_TYPE_ROTATE",
346
- "rotate" },
347
- { LSM_SVG_TRANSFORM_TYPE_SKEW_X,
348
- "LSM_SVG_TRANSFORM_TYPE_SKEW_X",
349
- "skew-x" },
350
- { LSM_SVG_TRANSFORM_TYPE_SKEW_Y,
351
- "LSM_SVG_TRANSFORM_TYPE_SKEW_Y",
352
- "skew-y" },
353
- { 0, NULL, NULL }
354
- };
355
- the_type = g_enum_register_static (
356
- g_intern_static_string ("LsmSvgTransformType"),
357
- values);
358
- }
359
- return the_type;
360
- }
361
-
362
- GType
363
- lsm_svg_overflow_get_type (void)
364
- {
365
- static GType the_type = 0;
366
-
367
- if (the_type == 0)
368
- {
369
- static const GEnumValue values[] = {
370
- { LSM_SVG_OVERFLOW_ERROR,
371
- "LSM_SVG_OVERFLOW_ERROR",
372
- "error" },
373
- { LSM_SVG_OVERFLOW_VISIBLE,
374
- "LSM_SVG_OVERFLOW_VISIBLE",
375
- "visible" },
376
- { LSM_SVG_OVERFLOW_HIDDEN,
377
- "LSM_SVG_OVERFLOW_HIDDEN",
378
- "hidden" },
379
- { LSM_SVG_OVERFLOW_SCROLL,
380
- "LSM_SVG_OVERFLOW_SCROLL",
381
- "scroll" },
382
- { LSM_SVG_OVERFLOW_AUTO,
383
- "LSM_SVG_OVERFLOW_AUTO",
384
- "auto" },
385
- { 0, NULL, NULL }
386
- };
387
- the_type = g_enum_register_static (
388
- g_intern_static_string ("LsmSvgOverflow"),
389
- values);
390
- }
391
- return the_type;
392
- }
393
-
394
- GType
395
- lsm_svg_pattern_units_get_type (void)
396
- {
397
- static GType the_type = 0;
398
-
399
- if (the_type == 0)
400
- {
401
- static const GEnumValue values[] = {
402
- { LSM_SVG_PATTERN_UNITS_ERROR,
403
- "LSM_SVG_PATTERN_UNITS_ERROR",
404
- "error" },
405
- { LSM_SVG_PATTERN_UNITS_USER_SPACE_ON_USE,
406
- "LSM_SVG_PATTERN_UNITS_USER_SPACE_ON_USE",
407
- "user-space-on-use" },
408
- { LSM_SVG_PATTERN_UNITS_OBJECT_BOUNDING_BOX,
409
- "LSM_SVG_PATTERN_UNITS_OBJECT_BOUNDING_BOX",
410
- "object-bounding-box" },
411
- { 0, NULL, NULL }
412
- };
413
- the_type = g_enum_register_static (
414
- g_intern_static_string ("LsmSvgPatternUnits"),
415
- values);
416
- }
417
- return the_type;
418
- }
419
-
420
- GType
421
- lsm_svg_marker_units_get_type (void)
422
- {
423
- static GType the_type = 0;
424
-
425
- if (the_type == 0)
426
- {
427
- static const GEnumValue values[] = {
428
- { LSM_SVG_MARKER_UNITS_ERROR,
429
- "LSM_SVG_MARKER_UNITS_ERROR",
430
- "error" },
431
- { LSM_SVG_MARKER_UNITS_STROKE_WIDTH,
432
- "LSM_SVG_MARKER_UNITS_STROKE_WIDTH",
433
- "stroke-width" },
434
- { LSM_SVG_MARKER_UNITS_USER_SPACE_ON_USE,
435
- "LSM_SVG_MARKER_UNITS_USER_SPACE_ON_USE",
436
- "user-space-on-use" },
437
- { 0, NULL, NULL }
438
- };
439
- the_type = g_enum_register_static (
440
- g_intern_static_string ("LsmSvgMarkerUnits"),
441
- values);
442
- }
443
- return the_type;
444
- }
445
-
446
- GType
447
- lsm_svg_spread_method_get_type (void)
448
- {
449
- static GType the_type = 0;
450
-
451
- if (the_type == 0)
452
- {
453
- static const GEnumValue values[] = {
454
- { LSM_SVG_SPREAD_METHOD_ERROR,
455
- "LSM_SVG_SPREAD_METHOD_ERROR",
456
- "error" },
457
- { LSM_SVG_SPREAD_METHOD_PAD,
458
- "LSM_SVG_SPREAD_METHOD_PAD",
459
- "pad" },
460
- { LSM_SVG_SPREAD_METHOD_REFLECT,
461
- "LSM_SVG_SPREAD_METHOD_REFLECT",
462
- "reflect" },
463
- { LSM_SVG_SPREAD_METHOD_REPEAT,
464
- "LSM_SVG_SPREAD_METHOD_REPEAT",
465
- "repeat" },
466
- { 0, NULL, NULL }
467
- };
468
- the_type = g_enum_register_static (
469
- g_intern_static_string ("LsmSvgSpreadMethod"),
470
- values);
471
- }
472
- return the_type;
473
- }
474
-
475
- GType
476
- lsm_svg_align_get_type (void)
477
- {
478
- static GType the_type = 0;
479
-
480
- if (the_type == 0)
481
- {
482
- static const GEnumValue values[] = {
483
- { LSM_SVG_ALIGN_ERROR,
484
- "LSM_SVG_ALIGN_ERROR",
485
- "error" },
486
- { LSM_SVG_ALIGN_NONE,
487
- "LSM_SVG_ALIGN_NONE",
488
- "none" },
489
- { LSM_SVG_ALIGN_X_MIN_Y_MIN,
490
- "LSM_SVG_ALIGN_X_MIN_Y_MIN",
491
- "x-min-y-min" },
492
- { LSM_SVG_ALIGN_X_MID_Y_MIN,
493
- "LSM_SVG_ALIGN_X_MID_Y_MIN",
494
- "x-mid-y-min" },
495
- { LSM_SVG_ALIGN_X_MAX_Y_MIN,
496
- "LSM_SVG_ALIGN_X_MAX_Y_MIN",
497
- "x-max-y-min" },
498
- { LSM_SVG_ALIGN_X_MIN_Y_MID,
499
- "LSM_SVG_ALIGN_X_MIN_Y_MID",
500
- "x-min-y-mid" },
501
- { LSM_SVG_ALIGN_X_MID_Y_MID,
502
- "LSM_SVG_ALIGN_X_MID_Y_MID",
503
- "x-mid-y-mid" },
504
- { LSM_SVG_ALIGN_X_MAX_Y_MID,
505
- "LSM_SVG_ALIGN_X_MAX_Y_MID",
506
- "x-max-y-mid" },
507
- { LSM_SVG_ALIGN_X_MIN_Y_MAX,
508
- "LSM_SVG_ALIGN_X_MIN_Y_MAX",
509
- "x-min-y-max" },
510
- { LSM_SVG_ALIGN_X_MID_Y_MAX,
511
- "LSM_SVG_ALIGN_X_MID_Y_MAX",
512
- "x-mid-y-max" },
513
- { LSM_SVG_ALIGN_X_MAX_Y_MAX,
514
- "LSM_SVG_ALIGN_X_MAX_Y_MAX",
515
- "x-max-y-max" },
516
- { 0, NULL, NULL }
517
- };
518
- the_type = g_enum_register_static (
519
- g_intern_static_string ("LsmSvgAlign"),
520
- values);
521
- }
522
- return the_type;
523
- }
524
-
525
- GType
526
- lsm_svg_meet_or_slice_get_type (void)
527
- {
528
- static GType the_type = 0;
529
-
530
- if (the_type == 0)
531
- {
532
- static const GEnumValue values[] = {
533
- { LSM_SVG_MEET_OR_SLICE_ERROR,
534
- "LSM_SVG_MEET_OR_SLICE_ERROR",
535
- "error" },
536
- { LSM_SVG_MEET_OR_SLICE_MEET,
537
- "LSM_SVG_MEET_OR_SLICE_MEET",
538
- "meet" },
539
- { LSM_SVG_MEET_OR_SLICE_SLICE,
540
- "LSM_SVG_MEET_OR_SLICE_SLICE",
541
- "slice" },
542
- { 0, NULL, NULL }
543
- };
544
- the_type = g_enum_register_static (
545
- g_intern_static_string ("LsmSvgMeetOrSlice"),
546
- values);
547
- }
548
- return the_type;
549
- }
550
-
551
- GType
552
- lsm_svg_comp_op_get_type (void)
553
- {
554
- static GType the_type = 0;
555
-
556
- if (the_type == 0)
557
- {
558
- static const GEnumValue values[] = {
559
- { LSM_SVG_COMP_OP_ERROR,
560
- "LSM_SVG_COMP_OP_ERROR",
561
- "error" },
562
- { LSM_SVG_COMP_OP_CLEAR,
563
- "LSM_SVG_COMP_OP_CLEAR",
564
- "clear" },
565
- { LSM_SVG_COMP_OP_SRC,
566
- "LSM_SVG_COMP_OP_SRC",
567
- "src" },
568
- { LSM_SVG_COMP_OP_DST,
569
- "LSM_SVG_COMP_OP_DST",
570
- "dst" },
571
- { LSM_SVG_COMP_OP_SRC_OVER,
572
- "LSM_SVG_COMP_OP_SRC_OVER",
573
- "src-over" },
574
- { LSM_SVG_COMP_OP_DST_OVER,
575
- "LSM_SVG_COMP_OP_DST_OVER",
576
- "dst-over" },
577
- { LSM_SVG_COMP_OP_SRC_IN,
578
- "LSM_SVG_COMP_OP_SRC_IN",
579
- "src-in" },
580
- { LSM_SVG_COMP_OP_DST_IN,
581
- "LSM_SVG_COMP_OP_DST_IN",
582
- "dst-in" },
583
- { LSM_SVG_COMP_OP_SRC_OUT,
584
- "LSM_SVG_COMP_OP_SRC_OUT",
585
- "src-out" },
586
- { LSM_SVG_COMP_OP_DST_OUT,
587
- "LSM_SVG_COMP_OP_DST_OUT",
588
- "dst-out" },
589
- { LSM_SVG_COMP_OP_SRC_ATOP,
590
- "LSM_SVG_COMP_OP_SRC_ATOP",
591
- "src-atop" },
592
- { LSM_SVG_COMP_OP_DST_ATOP,
593
- "LSM_SVG_COMP_OP_DST_ATOP",
594
- "dst-atop" },
595
- { LSM_SVG_COMP_OP_XOR,
596
- "LSM_SVG_COMP_OP_XOR",
597
- "xor" },
598
- { LSM_SVG_COMP_OP_PLUS,
599
- "LSM_SVG_COMP_OP_PLUS",
600
- "plus" },
601
- { LSM_SVG_COMP_OP_MULTIPLY,
602
- "LSM_SVG_COMP_OP_MULTIPLY",
603
- "multiply" },
604
- { LSM_SVG_COMP_OP_SCREEN,
605
- "LSM_SVG_COMP_OP_SCREEN",
606
- "screen" },
607
- { LSM_SVG_COMP_OP_OVERLAY,
608
- "LSM_SVG_COMP_OP_OVERLAY",
609
- "overlay" },
610
- { LSM_SVG_COMP_OP_DARKEN,
611
- "LSM_SVG_COMP_OP_DARKEN",
612
- "darken" },
613
- { LSM_SVG_COMP_OP_LIGHTEN,
614
- "LSM_SVG_COMP_OP_LIGHTEN",
615
- "lighten" },
616
- { LSM_SVG_COMP_OP_COLOR_DODGE,
617
- "LSM_SVG_COMP_OP_COLOR_DODGE",
618
- "color-dodge" },
619
- { LSM_SVG_COMP_OP_COLOR_BURN,
620
- "LSM_SVG_COMP_OP_COLOR_BURN",
621
- "color-burn" },
622
- { LSM_SVG_COMP_OP_HARD_LIGHT,
623
- "LSM_SVG_COMP_OP_HARD_LIGHT",
624
- "hard-light" },
625
- { LSM_SVG_COMP_OP_SOFT_LIGHT,
626
- "LSM_SVG_COMP_OP_SOFT_LIGHT",
627
- "soft-light" },
628
- { LSM_SVG_COMP_OP_DIFFERENCE,
629
- "LSM_SVG_COMP_OP_DIFFERENCE",
630
- "difference" },
631
- { LSM_SVG_COMP_OP_EXCLUSION,
632
- "LSM_SVG_COMP_OP_EXCLUSION",
633
- "exclusion" },
634
- { 0, NULL, NULL }
635
- };
636
- the_type = g_enum_register_static (
637
- g_intern_static_string ("LsmSvgCompOp"),
638
- values);
639
- }
640
- return the_type;
641
- }
642
-
643
- GType
644
- lsm_svg_font_stretch_get_type (void)
645
- {
646
- static GType the_type = 0;
647
-
648
- if (the_type == 0)
649
- {
650
- static const GEnumValue values[] = {
651
- { LSM_SVG_FONT_STRETCH_ERROR,
652
- "LSM_SVG_FONT_STRETCH_ERROR",
653
- "error" },
654
- { LSM_SVG_FONT_STRETCH_NORMAL,
655
- "LSM_SVG_FONT_STRETCH_NORMAL",
656
- "normal" },
657
- { LSM_SVG_FONT_STRETCH_ULTRA_CONDENSED,
658
- "LSM_SVG_FONT_STRETCH_ULTRA_CONDENSED",
659
- "ultra-condensed" },
660
- { LSM_SVG_FONT_STRETCH_EXTRA_CONDENSED,
661
- "LSM_SVG_FONT_STRETCH_EXTRA_CONDENSED",
662
- "extra-condensed" },
663
- { LSM_SVG_FONT_STRETCH_CONDENSED,
664
- "LSM_SVG_FONT_STRETCH_CONDENSED",
665
- "condensed" },
666
- { LSM_SVG_FONT_STRETCH_SEMI_CONDENSED,
667
- "LSM_SVG_FONT_STRETCH_SEMI_CONDENSED",
668
- "semi-condensed" },
669
- { LSM_SVG_FONT_STRETCH_SEMI_EXPANDED,
670
- "LSM_SVG_FONT_STRETCH_SEMI_EXPANDED",
671
- "semi-expanded" },
672
- { LSM_SVG_FONT_STRETCH_EXPANDED,
673
- "LSM_SVG_FONT_STRETCH_EXPANDED",
674
- "expanded" },
675
- { LSM_SVG_FONT_STRETCH_EXTRA_EXPANDED,
676
- "LSM_SVG_FONT_STRETCH_EXTRA_EXPANDED",
677
- "extra-expanded" },
678
- { LSM_SVG_FONT_STRETCH_ULTRA_EXPANDED,
679
- "LSM_SVG_FONT_STRETCH_ULTRA_EXPANDED",
680
- "ultra-expanded" },
681
- { 0, NULL, NULL }
682
- };
683
- the_type = g_enum_register_static (
684
- g_intern_static_string ("LsmSvgFontStretch"),
685
- values);
686
- }
687
- return the_type;
688
- }
689
-
690
- GType
691
- lsm_svg_font_style_get_type (void)
692
- {
693
- static GType the_type = 0;
694
-
695
- if (the_type == 0)
696
- {
697
- static const GEnumValue values[] = {
698
- { LSM_SVG_FONT_STYLE_ERROR,
699
- "LSM_SVG_FONT_STYLE_ERROR",
700
- "error" },
701
- { LSM_SVG_FONT_STYLE_NORMAL,
702
- "LSM_SVG_FONT_STYLE_NORMAL",
703
- "normal" },
704
- { LSM_SVG_FONT_STYLE_OBLIQUE,
705
- "LSM_SVG_FONT_STYLE_OBLIQUE",
706
- "oblique" },
707
- { LSM_SVG_FONT_STYLE_ITALIC,
708
- "LSM_SVG_FONT_STYLE_ITALIC",
709
- "italic" },
710
- { 0, NULL, NULL }
711
- };
712
- the_type = g_enum_register_static (
713
- g_intern_static_string ("LsmSvgFontStyle"),
714
- values);
715
- }
716
- return the_type;
717
- }
718
-
719
- GType
720
- lsm_svg_font_weight_get_type (void)
721
- {
722
- static GType the_type = 0;
723
-
724
- if (the_type == 0)
725
- {
726
- static const GEnumValue values[] = {
727
- { LSM_SVG_FONT_WEIGHT_ERROR,
728
- "LSM_SVG_FONT_WEIGHT_ERROR",
729
- "error" },
730
- { LSM_SVG_FONT_WEIGHT_NORMAL,
731
- "LSM_SVG_FONT_WEIGHT_NORMAL",
732
- "normal" },
733
- { LSM_SVG_FONT_WEIGHT_BOLD,
734
- "LSM_SVG_FONT_WEIGHT_BOLD",
735
- "bold" },
736
- { 0, NULL, NULL }
737
- };
738
- the_type = g_enum_register_static (
739
- g_intern_static_string ("LsmSvgFontWeight"),
740
- values);
741
- }
742
- return the_type;
743
- }
744
-
745
- GType
746
- lsm_svg_text_anchor_get_type (void)
747
- {
748
- static GType the_type = 0;
749
-
750
- if (the_type == 0)
751
- {
752
- static const GEnumValue values[] = {
753
- { LSM_SVG_TEXT_ANCHOR_ERROR,
754
- "LSM_SVG_TEXT_ANCHOR_ERROR",
755
- "error" },
756
- { LSM_SVG_TEXT_ANCHOR_START,
757
- "LSM_SVG_TEXT_ANCHOR_START",
758
- "start" },
759
- { LSM_SVG_TEXT_ANCHOR_MIDDLE,
760
- "LSM_SVG_TEXT_ANCHOR_MIDDLE",
761
- "middle" },
762
- { LSM_SVG_TEXT_ANCHOR_END,
763
- "LSM_SVG_TEXT_ANCHOR_END",
764
- "end" },
765
- { 0, NULL, NULL }
766
- };
767
- the_type = g_enum_register_static (
768
- g_intern_static_string ("LsmSvgTextAnchor"),
769
- values);
770
- }
771
- return the_type;
772
- }
773
-
774
- GType
775
- lsm_svg_filter_input_get_type (void)
776
- {
777
- static GType the_type = 0;
778
-
779
- if (the_type == 0)
780
- {
781
- static const GEnumValue values[] = {
782
- { LSM_SVG_FILTER_INPUT_ERROR,
783
- "LSM_SVG_FILTER_INPUT_ERROR",
784
- "error" },
785
- { LSM_SVG_FILTER_INPUT_SOURCE_GRAPHIC,
786
- "LSM_SVG_FILTER_INPUT_SOURCE_GRAPHIC",
787
- "source-graphic" },
788
- { LSM_SVG_FILTER_INPUT_SOURCE_ALPHA,
789
- "LSM_SVG_FILTER_INPUT_SOURCE_ALPHA",
790
- "source-alpha" },
791
- { LSM_SVG_FILTER_INPUT_BACKGROUND_IMAGE,
792
- "LSM_SVG_FILTER_INPUT_BACKGROUND_IMAGE",
793
- "background-image" },
794
- { LSM_SVG_FILTER_INPUT_BACKGROUND_ALPHA,
795
- "LSM_SVG_FILTER_INPUT_BACKGROUND_ALPHA",
796
- "background-alpha" },
797
- { LSM_SVG_FILTER_INPUT_FILL_PAINT,
798
- "LSM_SVG_FILTER_INPUT_FILL_PAINT",
799
- "fill-paint" },
800
- { LSM_SVG_FILTER_INPUT_STROKE_PAINT,
801
- "LSM_SVG_FILTER_INPUT_STROKE_PAINT",
802
- "stroke-paint" },
803
- { 0, NULL, NULL }
804
- };
805
- the_type = g_enum_register_static (
806
- g_intern_static_string ("LsmSvgFilterInput"),
807
- values);
808
- }
809
- return the_type;
810
- }
811
-
812
- GType
813
- lsm_svg_display_get_type (void)
814
- {
815
- static GType the_type = 0;
816
-
817
- if (the_type == 0)
818
- {
819
- static const GEnumValue values[] = {
820
- { LSM_SVG_DISPLAY_ERROR,
821
- "LSM_SVG_DISPLAY_ERROR",
822
- "error" },
823
- { LSM_SVG_DISPLAY_NONE,
824
- "LSM_SVG_DISPLAY_NONE",
825
- "none" },
826
- { LSM_SVG_DISPLAY_INLINE,
827
- "LSM_SVG_DISPLAY_INLINE",
828
- "inline" },
829
- { LSM_SVG_DISPLAY_BLOCK,
830
- "LSM_SVG_DISPLAY_BLOCK",
831
- "block" },
832
- { LSM_SVG_DISPLAY_LIST_ITEM,
833
- "LSM_SVG_DISPLAY_LIST_ITEM",
834
- "list-item" },
835
- { LSM_SVG_DISPLAY_RUN_IN,
836
- "LSM_SVG_DISPLAY_RUN_IN",
837
- "run-in" },
838
- { LSM_SVG_DISPLAY_COMPACT,
839
- "LSM_SVG_DISPLAY_COMPACT",
840
- "compact" },
841
- { LSM_SVG_DISPLAY_MARKER,
842
- "LSM_SVG_DISPLAY_MARKER",
843
- "marker" },
844
- { LSM_SVG_DISPLAY_TABLE,
845
- "LSM_SVG_DISPLAY_TABLE",
846
- "table" },
847
- { LSM_SVG_DISPLAY_INLINE_TABLE,
848
- "LSM_SVG_DISPLAY_INLINE_TABLE",
849
- "inline-table" },
850
- { LSM_SVG_DISPLAY_TABLE_ROW_GROUP,
851
- "LSM_SVG_DISPLAY_TABLE_ROW_GROUP",
852
- "table-row-group" },
853
- { LSM_SVG_DISPLAY_TABLE_HEADER_GROUP,
854
- "LSM_SVG_DISPLAY_TABLE_HEADER_GROUP",
855
- "table-header-group" },
856
- { LSM_SVG_DISPLAY_TABLE_FOOTER_GROUP,
857
- "LSM_SVG_DISPLAY_TABLE_FOOTER_GROUP",
858
- "table-footer-group" },
859
- { LSM_SVG_DISPLAY_TABLE_ROW,
860
- "LSM_SVG_DISPLAY_TABLE_ROW",
861
- "table-row" },
862
- { LSM_SVG_DISPLAY_TABLE_COLUMN_GROUP,
863
- "LSM_SVG_DISPLAY_TABLE_COLUMN_GROUP",
864
- "table-column-group" },
865
- { LSM_SVG_DISPLAY_TABLE_COLUMN,
866
- "LSM_SVG_DISPLAY_TABLE_COLUMN",
867
- "table-column" },
868
- { LSM_SVG_DISPLAY_TABLE_CELL,
869
- "LSM_SVG_DISPLAY_TABLE_CELL",
870
- "table-cell" },
871
- { LSM_SVG_DISPLAY_TABLE_CAPTION,
872
- "LSM_SVG_DISPLAY_TABLE_CAPTION",
873
- "table-caption" },
874
- { 0, NULL, NULL }
875
- };
876
- the_type = g_enum_register_static (
877
- g_intern_static_string ("LsmSvgDisplay"),
878
- values);
879
- }
880
- return the_type;
881
- }
882
-
883
- GType
884
- lsm_svg_visibility_get_type (void)
885
- {
886
- static GType the_type = 0;
887
-
888
- if (the_type == 0)
889
- {
890
- static const GEnumValue values[] = {
891
- { LSM_SVG_VISIBILITY_ERROR,
892
- "LSM_SVG_VISIBILITY_ERROR",
893
- "error" },
894
- { LSM_SVG_VISIBILITY_VISIBLE,
895
- "LSM_SVG_VISIBILITY_VISIBLE",
896
- "visible" },
897
- { LSM_SVG_VISIBILITY_HIDDEN,
898
- "LSM_SVG_VISIBILITY_HIDDEN",
899
- "hidden" },
900
- { LSM_SVG_VISIBILITY_COLLAPSE,
901
- "LSM_SVG_VISIBILITY_COLLAPSE",
902
- "collapse" },
903
- { 0, NULL, NULL }
904
- };
905
- the_type = g_enum_register_static (
906
- g_intern_static_string ("LsmSvgVisibility"),
907
- values);
908
- }
909
- return the_type;
910
- }
911
-
912
- GType
913
- lsm_svg_element_category_get_type (void)
914
- {
915
- static GType the_type = 0;
916
-
917
- if (the_type == 0)
918
- {
919
- static const GFlagsValue values[] = {
920
- { LSM_SVG_ELEMENT_CATEGORY_NONE,
921
- "LSM_SVG_ELEMENT_CATEGORY_NONE",
922
- "none" },
923
- { LSM_SVG_ELEMENT_CATEGORY_DESCRIPTIVE,
924
- "LSM_SVG_ELEMENT_CATEGORY_DESCRIPTIVE",
925
- "descriptive" },
926
- { LSM_SVG_ELEMENT_CATEGORY_CONTAINER,
927
- "LSM_SVG_ELEMENT_CATEGORY_CONTAINER",
928
- "container" },
929
- { LSM_SVG_ELEMENT_CATEGORY_STRUCTURAL,
930
- "LSM_SVG_ELEMENT_CATEGORY_STRUCTURAL",
931
- "structural" },
932
- { LSM_SVG_ELEMENT_CATEGORY_GRAPHICS_REFERENCING,
933
- "LSM_SVG_ELEMENT_CATEGORY_GRAPHICS_REFERENCING",
934
- "graphics-referencing" },
935
- { LSM_SVG_ELEMENT_CATEGORY_GRAPHICS,
936
- "LSM_SVG_ELEMENT_CATEGORY_GRAPHICS",
937
- "graphics" },
938
- { LSM_SVG_ELEMENT_CATEGORY_SHAPE,
939
- "LSM_SVG_ELEMENT_CATEGORY_SHAPE",
940
- "shape" },
941
- { LSM_SVG_ELEMENT_CATEGORY_BASIC_SHAPE,
942
- "LSM_SVG_ELEMENT_CATEGORY_BASIC_SHAPE",
943
- "basic-shape" },
944
- { LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT,
945
- "LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT",
946
- "text-content" },
947
- { LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT_CHILD,
948
- "LSM_SVG_ELEMENT_CATEGORY_TEXT_CONTENT_CHILD",
949
- "text-content-child" },
950
- { LSM_SVG_ELEMENT_CATEGORY_GRADIENT,
951
- "LSM_SVG_ELEMENT_CATEGORY_GRADIENT",
952
- "gradient" },
953
- { LSM_SVG_ELEMENT_CATEGORY_FILTER_PRIMITIVE,
954
- "LSM_SVG_ELEMENT_CATEGORY_FILTER_PRIMITIVE",
955
- "filter-primitive" },
956
- { LSM_SVG_ELEMENT_CATEGORY_ANIMATION,
957
- "LSM_SVG_ELEMENT_CATEGORY_ANIMATION",
958
- "animation" },
959
- { 0, NULL, NULL }
960
- };
961
- the_type = g_flags_register_static (
962
- g_intern_static_string ("LsmSvgElementCategory"),
963
- values);
964
- }
965
- return the_type;
966
- }
967
-
968
- GType
969
- lsm_svg_writing_mode_get_type (void)
970
- {
971
- static GType the_type = 0;
972
-
973
- if (the_type == 0)
974
- {
975
- static const GEnumValue values[] = {
976
- { LSM_SVG_WRITING_MODE_ERROR,
977
- "LSM_SVG_WRITING_MODE_ERROR",
978
- "error" },
979
- { LSM_SVG_WRITING_MODE_LR_TB,
980
- "LSM_SVG_WRITING_MODE_LR_TB",
981
- "lr-tb" },
982
- { LSM_SVG_WRITING_MODE_RL_TB,
983
- "LSM_SVG_WRITING_MODE_RL_TB",
984
- "rl-tb" },
985
- { LSM_SVG_WRITING_MODE_TB_RL,
986
- "LSM_SVG_WRITING_MODE_TB_RL",
987
- "tb-rl" },
988
- { LSM_SVG_WRITING_MODE_LR,
989
- "LSM_SVG_WRITING_MODE_LR",
990
- "lr" },
991
- { LSM_SVG_WRITING_MODE_RL,
992
- "LSM_SVG_WRITING_MODE_RL",
993
- "rl" },
994
- { LSM_SVG_WRITING_MODE_TB,
995
- "LSM_SVG_WRITING_MODE_TB",
996
- "tb" },
997
- { 0, NULL, NULL }
998
- };
999
- the_type = g_enum_register_static (
1000
- g_intern_static_string ("LsmSvgWritingMode"),
1001
- values);
1002
- }
1003
- return the_type;
1004
- }
1005
-
1006
- /* enumerations from "lsmsvgview.h" */
1007
- #include "lsmsvgview.h"
1008
-
1009
- GType
1010
- lsm_svg_view_surface_type_get_type (void)
1011
- {
1012
- static GType the_type = 0;
1013
-
1014
- if (the_type == 0)
1015
- {
1016
- static const GEnumValue values[] = {
1017
- { LSM_SVG_VIEW_SURFACE_TYPE_AUTO,
1018
- "LSM_SVG_VIEW_SURFACE_TYPE_AUTO",
1019
- "auto" },
1020
- { LSM_SVG_VIEW_SURFACE_TYPE_IMAGE,
1021
- "LSM_SVG_VIEW_SURFACE_TYPE_IMAGE",
1022
- "image" },
1023
- { 0, NULL, NULL }
1024
- };
1025
- the_type = g_enum_register_static (
1026
- g_intern_static_string ("LsmSvgViewSurfaceType"),
1027
- values);
1028
- }
1029
- return the_type;
1030
- }
1031
-
1032
- /* enumerations from "lsmsvgmatrix.h" */
1033
- #include "lsmsvgmatrix.h"
1034
-
1035
- GType
1036
- lsm_svg_matrix_flags_get_type (void)
1037
- {
1038
- static GType the_type = 0;
1039
-
1040
- if (the_type == 0)
1041
- {
1042
- static const GFlagsValue values[] = {
1043
- { LSM_SVG_MATRIX_FLAGS_IDENTITY,
1044
- "LSM_SVG_MATRIX_FLAGS_IDENTITY",
1045
- "identity" },
1046
- { 0, NULL, NULL }
1047
- };
1048
- the_type = g_flags_register_static (
1049
- g_intern_static_string ("LsmSvgMatrixFlags"),
1050
- values);
1051
- }
1052
- return the_type;
1053
- }
1054
-
1055
- /* enumerations from "lsmsvguseelement.h" */
1056
- #include "lsmsvguseelement.h"
1057
-
1058
- GType
1059
- lsm_svg_use_element_flags_get_type (void)
1060
- {
1061
- static GType the_type = 0;
1062
-
1063
- if (the_type == 0)
1064
- {
1065
- static const GFlagsValue values[] = {
1066
- { LSM_SVG_USE_ELEMENT_FLAGS_IN_USE_FOR_RENDER,
1067
- "LSM_SVG_USE_ELEMENT_FLAGS_IN_USE_FOR_RENDER",
1068
- "render" },
1069
- { LSM_SVG_USE_ELEMENT_FLAGS_IN_USE_FOR_GET_EXTENTS,
1070
- "LSM_SVG_USE_ELEMENT_FLAGS_IN_USE_FOR_GET_EXTENTS",
1071
- "get-extents" },
1072
- { 0, NULL, NULL }
1073
- };
1074
- the_type = g_flags_register_static (
1075
- g_intern_static_string ("LsmSvgUseElementFlags"),
1076
- values);
1077
- }
1078
- return the_type;
1079
- }
1080
-
1081
-
1082
- /* Generated data ends here */
1083
-