mathematical 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +12 -0
  3. data/ext/mathematical/extconf.rb +12 -2
  4. data/ext/mathematical/{itex2MML.h → itexToMML/itex2MML.h} +0 -0
  5. data/ext/mathematical/{lex.yy.c → itexToMML/lex.yy.c} +0 -0
  6. data/ext/mathematical/{y.tab.c → itexToMML/y.tab.c} +0 -0
  7. data/ext/mathematical/{y.tab.h → itexToMML/y.tab.h} +0 -0
  8. data/ext/mathematical/lasem/itex2mml/itex2MML.h +63 -0
  9. data/ext/mathematical/{lasemrender.c → lasem/src/lasemrender.c} +27 -21
  10. data/ext/mathematical/{lsm.c → lasem/src/lsm.c} +0 -0
  11. data/ext/mathematical/{lsm.h → lasem/src/lsm.h} +0 -0
  12. data/ext/mathematical/{lsmattributes.c → lasem/src/lsmattributes.c} +0 -0
  13. data/ext/mathematical/{lsmattributes.h → lasem/src/lsmattributes.h} +0 -0
  14. data/ext/mathematical/{lsmcairo.c → lasem/src/lsmcairo.c} +0 -0
  15. data/ext/mathematical/{lsmcairo.h → lasem/src/lsmcairo.h} +0 -0
  16. data/ext/mathematical/{lsmdebug.c → lasem/src/lsmdebug.c} +2 -0
  17. data/ext/mathematical/{lsmdebug.h → lasem/src/lsmdebug.h} +3 -3
  18. data/ext/mathematical/{lsmdom.h → lasem/src/lsmdom.h} +0 -0
  19. data/ext/mathematical/{lsmdomcharacterdata.c → lasem/src/lsmdomcharacterdata.c} +0 -0
  20. data/ext/mathematical/{lsmdomcharacterdata.h → lasem/src/lsmdomcharacterdata.h} +0 -0
  21. data/ext/mathematical/{lsmdomdocument.c → lasem/src/lsmdomdocument.c} +0 -0
  22. data/ext/mathematical/{lsmdomdocument.h → lasem/src/lsmdomdocument.h} +0 -0
  23. data/ext/mathematical/{lsmdomdocumentfragment.c → lasem/src/lsmdomdocumentfragment.c} +0 -0
  24. data/ext/mathematical/{lsmdomdocumentfragment.h → lasem/src/lsmdomdocumentfragment.h} +0 -0
  25. data/ext/mathematical/{lsmdomelement.c → lasem/src/lsmdomelement.c} +0 -0
  26. data/ext/mathematical/{lsmdomelement.h → lasem/src/lsmdomelement.h} +0 -0
  27. data/ext/mathematical/{lsmdomentities.c → lasem/src/lsmdomentities.c} +0 -0
  28. data/ext/mathematical/{lsmdomentities.h → lasem/src/lsmdomentities.h} +0 -0
  29. data/ext/mathematical/{lsmdomimplementation.c → lasem/src/lsmdomimplementation.c} +0 -0
  30. data/ext/mathematical/{lsmdomimplementation.h → lasem/src/lsmdomimplementation.h} +0 -0
  31. data/ext/mathematical/{lsmdomnamednodemap.c → lasem/src/lsmdomnamednodemap.c} +0 -0
  32. data/ext/mathematical/{lsmdomnamednodemap.h → lasem/src/lsmdomnamednodemap.h} +0 -0
  33. data/ext/mathematical/{lsmdomnode.c → lasem/src/lsmdomnode.c} +0 -0
  34. data/ext/mathematical/{lsmdomnode.h → lasem/src/lsmdomnode.h} +0 -0
  35. data/ext/mathematical/{lsmdomnodelist.c → lasem/src/lsmdomnodelist.c} +0 -0
  36. data/ext/mathematical/{lsmdomnodelist.h → lasem/src/lsmdomnodelist.h} +0 -0
  37. data/ext/mathematical/{lsmdomparser.c → lasem/src/lsmdomparser.c} +78 -16
  38. data/ext/mathematical/{lsmdomparser.h → lasem/src/lsmdomparser.h} +7 -7
  39. data/ext/mathematical/{lsmdomtext.c → lasem/src/lsmdomtext.c} +0 -0
  40. data/ext/mathematical/{lsmdomtext.h → lasem/src/lsmdomtext.h} +0 -0
  41. data/ext/mathematical/{lsmdomtypes.h → lasem/src/lsmdomtypes.h} +0 -0
  42. data/ext/mathematical/{lsmdomview.c → lasem/src/lsmdomview.c} +1 -0
  43. data/ext/mathematical/{lsmdomview.h → lasem/src/lsmdomview.h} +0 -0
  44. data/ext/mathematical/{lsmitex.c → lasem/src/lsmitex.c} +4 -4
  45. data/ext/mathematical/{lsmitex.h → lasem/src/lsmitex.h} +1 -1
  46. data/ext/mathematical/{lsmmathml.h → lasem/src/lsmmathml.h} +0 -0
  47. data/ext/mathematical/{lsmmathmlactionelement.c → lasem/src/lsmmathmlactionelement.c} +0 -0
  48. data/ext/mathematical/{lsmmathmlactionelement.h → lasem/src/lsmmathmlactionelement.h} +0 -0
  49. data/ext/mathematical/{lsmmathmlaligngroupelement.c → lasem/src/lsmmathmlaligngroupelement.c} +0 -0
  50. data/ext/mathematical/{lsmmathmlaligngroupelement.h → lasem/src/lsmmathmlaligngroupelement.h} +0 -0
  51. data/ext/mathematical/{lsmmathmlalignmarkelement.c → lasem/src/lsmmathmlalignmarkelement.c} +0 -0
  52. data/ext/mathematical/{lsmmathmlalignmarkelement.h → lasem/src/lsmmathmlalignmarkelement.h} +0 -0
  53. data/ext/mathematical/{lsmmathmlattributes.c → lasem/src/lsmmathmlattributes.c} +0 -0
  54. data/ext/mathematical/{lsmmathmlattributes.h → lasem/src/lsmmathmlattributes.h} +0 -0
  55. data/ext/mathematical/{lsmmathmldocument.c → lasem/src/lsmmathmldocument.c} +2 -2
  56. data/ext/mathematical/{lsmmathmldocument.h → lasem/src/lsmmathmldocument.h} +1 -1
  57. data/ext/mathematical/{lsmmathmlelement.c → lasem/src/lsmmathmlelement.c} +0 -0
  58. data/ext/mathematical/{lsmmathmlelement.h → lasem/src/lsmmathmlelement.h} +0 -0
  59. data/ext/mathematical/{lsmmathmlenums.c → lasem/src/lsmmathmlenums.c} +0 -0
  60. data/ext/mathematical/{lsmmathmlenums.h → lasem/src/lsmmathmlenums.h} +0 -0
  61. data/ext/mathematical/{lsmmathmlerrorelement.c → lasem/src/lsmmathmlerrorelement.c} +0 -0
  62. data/ext/mathematical/{lsmmathmlerrorelement.h → lasem/src/lsmmathmlerrorelement.h} +0 -0
  63. data/ext/mathematical/{lsmmathmlfencedelement.c → lasem/src/lsmmathmlfencedelement.c} +0 -0
  64. data/ext/mathematical/{lsmmathmlfencedelement.h → lasem/src/lsmmathmlfencedelement.h} +0 -0
  65. data/ext/mathematical/{lsmmathmlfractionelement.c → lasem/src/lsmmathmlfractionelement.c} +0 -0
  66. data/ext/mathematical/{lsmmathmlfractionelement.h → lasem/src/lsmmathmlfractionelement.h} +0 -0
  67. data/ext/mathematical/{lsmmathmlglyphtableams.c → lasem/src/lsmmathmlglyphtableams.c} +0 -0
  68. data/ext/mathematical/{lsmmathmlglyphtableams.h → lasem/src/lsmmathmlglyphtableams.h} +0 -0
  69. data/ext/mathematical/{lsmmathmlitexelement.c → lasem/src/lsmmathmlitexelement.c} +0 -0
  70. data/ext/mathematical/{lsmmathmlitexelement.h → lasem/src/lsmmathmlitexelement.h} +0 -0
  71. data/ext/mathematical/{lsmmathmllayoututils.c → lasem/src/lsmmathmllayoututils.c} +0 -0
  72. data/ext/mathematical/{lsmmathmllayoututils.h → lasem/src/lsmmathmllayoututils.h} +0 -0
  73. data/ext/mathematical/{lsmmathmlmathelement.c → lasem/src/lsmmathmlmathelement.c} +0 -0
  74. data/ext/mathematical/{lsmmathmlmathelement.h → lasem/src/lsmmathmlmathelement.h} +0 -0
  75. data/ext/mathematical/{lsmmathmloperatordictionary.c → lasem/src/lsmmathmloperatordictionary.c} +0 -0
  76. data/ext/mathematical/{lsmmathmloperatordictionary.h → lasem/src/lsmmathmloperatordictionary.h} +0 -0
  77. data/ext/mathematical/{lsmmathmloperatorelement.c → lasem/src/lsmmathmloperatorelement.c} +0 -0
  78. data/ext/mathematical/{lsmmathmloperatorelement.h → lasem/src/lsmmathmloperatorelement.h} +0 -0
  79. data/ext/mathematical/{lsmmathmlpaddedelement.c → lasem/src/lsmmathmlpaddedelement.c} +0 -0
  80. data/ext/mathematical/{lsmmathmlpaddedelement.h → lasem/src/lsmmathmlpaddedelement.h} +0 -0
  81. data/ext/mathematical/{lsmmathmlphantomelement.c → lasem/src/lsmmathmlphantomelement.c} +0 -0
  82. data/ext/mathematical/{lsmmathmlphantomelement.h → lasem/src/lsmmathmlphantomelement.h} +0 -0
  83. data/ext/mathematical/{lsmmathmlpresentationcontainer.c → lasem/src/lsmmathmlpresentationcontainer.c} +0 -0
  84. data/ext/mathematical/{lsmmathmlpresentationcontainer.h → lasem/src/lsmmathmlpresentationcontainer.h} +0 -0
  85. data/ext/mathematical/{lsmmathmlpresentationtoken.c → lasem/src/lsmmathmlpresentationtoken.c} +0 -0
  86. data/ext/mathematical/{lsmmathmlpresentationtoken.h → lasem/src/lsmmathmlpresentationtoken.h} +0 -0
  87. data/ext/mathematical/{lsmmathmlradicalelement.c → lasem/src/lsmmathmlradicalelement.c} +0 -0
  88. data/ext/mathematical/{lsmmathmlradicalelement.h → lasem/src/lsmmathmlradicalelement.h} +0 -0
  89. data/ext/mathematical/{lsmmathmlrowelement.c → lasem/src/lsmmathmlrowelement.c} +0 -0
  90. data/ext/mathematical/{lsmmathmlrowelement.h → lasem/src/lsmmathmlrowelement.h} +0 -0
  91. data/ext/mathematical/{lsmmathmlscriptelement.c → lasem/src/lsmmathmlscriptelement.c} +0 -0
  92. data/ext/mathematical/{lsmmathmlscriptelement.h → lasem/src/lsmmathmlscriptelement.h} +0 -0
  93. data/ext/mathematical/{lsmmathmlsemanticselement.c → lasem/src/lsmmathmlsemanticselement.c} +0 -0
  94. data/ext/mathematical/{lsmmathmlsemanticselement.h → lasem/src/lsmmathmlsemanticselement.h} +0 -0
  95. data/ext/mathematical/{lsmmathmlspaceelement.c → lasem/src/lsmmathmlspaceelement.c} +0 -0
  96. data/ext/mathematical/{lsmmathmlspaceelement.h → lasem/src/lsmmathmlspaceelement.h} +0 -0
  97. data/ext/mathematical/{lsmmathmlstringelement.c → lasem/src/lsmmathmlstringelement.c} +0 -0
  98. data/ext/mathematical/{lsmmathmlstringelement.h → lasem/src/lsmmathmlstringelement.h} +0 -0
  99. data/ext/mathematical/{lsmmathmlstyle.c → lasem/src/lsmmathmlstyle.c} +0 -0
  100. data/ext/mathematical/{lsmmathmlstyle.h → lasem/src/lsmmathmlstyle.h} +0 -0
  101. data/ext/mathematical/{lsmmathmlstyleelement.c → lasem/src/lsmmathmlstyleelement.c} +0 -0
  102. data/ext/mathematical/{lsmmathmlstyleelement.h → lasem/src/lsmmathmlstyleelement.h} +0 -0
  103. data/ext/mathematical/{lsmmathmltablecellelement.c → lasem/src/lsmmathmltablecellelement.c} +0 -0
  104. data/ext/mathematical/{lsmmathmltablecellelement.h → lasem/src/lsmmathmltablecellelement.h} +0 -0
  105. data/ext/mathematical/{lsmmathmltableelement.c → lasem/src/lsmmathmltableelement.c} +0 -0
  106. data/ext/mathematical/{lsmmathmltableelement.h → lasem/src/lsmmathmltableelement.h} +0 -0
  107. data/ext/mathematical/{lsmmathmltablerowelement.c → lasem/src/lsmmathmltablerowelement.c} +0 -0
  108. data/ext/mathematical/{lsmmathmltablerowelement.h → lasem/src/lsmmathmltablerowelement.h} +0 -0
  109. data/ext/mathematical/{lsmmathmltraits.c → lasem/src/lsmmathmltraits.c} +0 -0
  110. data/ext/mathematical/{lsmmathmltraits.h → lasem/src/lsmmathmltraits.h} +0 -0
  111. data/ext/mathematical/{lsmmathmltypes.h → lasem/src/lsmmathmltypes.h} +0 -0
  112. data/ext/mathematical/{lsmmathmlunderoverelement.c → lasem/src/lsmmathmlunderoverelement.c} +0 -0
  113. data/ext/mathematical/{lsmmathmlunderoverelement.h → lasem/src/lsmmathmlunderoverelement.h} +0 -0
  114. data/ext/mathematical/{lsmmathmlutils.c → lasem/src/lsmmathmlutils.c} +0 -0
  115. data/ext/mathematical/{lsmmathmlutils.h → lasem/src/lsmmathmlutils.h} +0 -0
  116. data/ext/mathematical/{lsmmathmlview.c → lasem/src/lsmmathmlview.c} +0 -0
  117. data/ext/mathematical/{lsmmathmlview.h → lasem/src/lsmmathmlview.h} +0 -0
  118. data/ext/mathematical/{lsmproperties.c → lasem/src/lsmproperties.c} +0 -0
  119. data/ext/mathematical/{lsmproperties.h → lasem/src/lsmproperties.h} +0 -0
  120. data/ext/mathematical/{lsmstr.c → lasem/src/lsmstr.c} +0 -0
  121. data/ext/mathematical/{lsmstr.h → lasem/src/lsmstr.h} +0 -0
  122. data/ext/mathematical/{lsmsvg.h → lasem/src/lsmsvg.h} +0 -0
  123. data/ext/mathematical/{lsmsvgaelement.c → lasem/src/lsmsvgaelement.c} +0 -0
  124. data/ext/mathematical/{lsmsvgaelement.h → lasem/src/lsmsvgaelement.h} +0 -0
  125. data/ext/mathematical/{lsmsvgattributes.h → lasem/src/lsmsvgattributes.h} +0 -0
  126. data/ext/mathematical/{lsmsvgcircleelement.c → lasem/src/lsmsvgcircleelement.c} +0 -0
  127. data/ext/mathematical/{lsmsvgcircleelement.h → lasem/src/lsmsvgcircleelement.h} +0 -0
  128. data/ext/mathematical/{lsmsvgclippathelement.c → lasem/src/lsmsvgclippathelement.c} +0 -0
  129. data/ext/mathematical/{lsmsvgclippathelement.h → lasem/src/lsmsvgclippathelement.h} +0 -0
  130. data/ext/mathematical/{lsmsvgcolors.c → lasem/src/lsmsvgcolors.c} +0 -0
  131. data/ext/mathematical/{lsmsvgcolors.h → lasem/src/lsmsvgcolors.h} +0 -0
  132. data/ext/mathematical/{lsmsvgdefselement.c → lasem/src/lsmsvgdefselement.c} +0 -0
  133. data/ext/mathematical/{lsmsvgdefselement.h → lasem/src/lsmsvgdefselement.h} +0 -0
  134. data/ext/mathematical/{lsmsvgdocument.c → lasem/src/lsmsvgdocument.c} +0 -0
  135. data/ext/mathematical/{lsmsvgdocument.h → lasem/src/lsmsvgdocument.h} +0 -0
  136. data/ext/mathematical/{lsmsvgelement.c → lasem/src/lsmsvgelement.c} +0 -0
  137. data/ext/mathematical/{lsmsvgelement.h → lasem/src/lsmsvgelement.h} +0 -0
  138. data/ext/mathematical/{lsmsvgellipseelement.c → lasem/src/lsmsvgellipseelement.c} +0 -0
  139. data/ext/mathematical/{lsmsvgellipseelement.h → lasem/src/lsmsvgellipseelement.h} +0 -0
  140. data/ext/mathematical/{lsmsvgenums.c → lasem/src/lsmsvgenums.c} +0 -0
  141. data/ext/mathematical/{lsmsvgenums.h → lasem/src/lsmsvgenums.h} +0 -0
  142. data/ext/mathematical/{lsmsvgfilterblend.c → lasem/src/lsmsvgfilterblend.c} +0 -0
  143. data/ext/mathematical/{lsmsvgfilterblend.h → lasem/src/lsmsvgfilterblend.h} +0 -0
  144. data/ext/mathematical/{lsmsvgfiltercomposite.c → lasem/src/lsmsvgfiltercomposite.c} +0 -0
  145. data/ext/mathematical/{lsmsvgfiltercomposite.h → lasem/src/lsmsvgfiltercomposite.h} +0 -0
  146. data/ext/mathematical/{lsmsvgfilterelement.c → lasem/src/lsmsvgfilterelement.c} +0 -0
  147. data/ext/mathematical/{lsmsvgfilterelement.h → lasem/src/lsmsvgfilterelement.h} +0 -0
  148. data/ext/mathematical/{lsmsvgfilterflood.c → lasem/src/lsmsvgfilterflood.c} +0 -0
  149. data/ext/mathematical/{lsmsvgfilterflood.h → lasem/src/lsmsvgfilterflood.h} +0 -0
  150. data/ext/mathematical/{lsmsvgfiltergaussianblur.c → lasem/src/lsmsvgfiltergaussianblur.c} +0 -0
  151. data/ext/mathematical/{lsmsvgfiltergaussianblur.h → lasem/src/lsmsvgfiltergaussianblur.h} +0 -0
  152. data/ext/mathematical/{lsmsvgfiltermerge.c → lasem/src/lsmsvgfiltermerge.c} +0 -0
  153. data/ext/mathematical/{lsmsvgfiltermerge.h → lasem/src/lsmsvgfiltermerge.h} +0 -0
  154. data/ext/mathematical/{lsmsvgfiltermergenode.c → lasem/src/lsmsvgfiltermergenode.c} +0 -0
  155. data/ext/mathematical/{lsmsvgfiltermergenode.h → lasem/src/lsmsvgfiltermergenode.h} +0 -0
  156. data/ext/mathematical/{lsmsvgfilteroffset.c → lasem/src/lsmsvgfilteroffset.c} +0 -0
  157. data/ext/mathematical/{lsmsvgfilteroffset.h → lasem/src/lsmsvgfilteroffset.h} +0 -0
  158. data/ext/mathematical/{lsmsvgfilterprimitive.c → lasem/src/lsmsvgfilterprimitive.c} +0 -0
  159. data/ext/mathematical/{lsmsvgfilterprimitive.h → lasem/src/lsmsvgfilterprimitive.h} +0 -0
  160. data/ext/mathematical/{lsmsvgfilterspecularlighting.c → lasem/src/lsmsvgfilterspecularlighting.c} +0 -0
  161. data/ext/mathematical/{lsmsvgfilterspecularlighting.h → lasem/src/lsmsvgfilterspecularlighting.h} +0 -0
  162. data/ext/mathematical/{lsmsvgfiltersurface.c → lasem/src/lsmsvgfiltersurface.c} +0 -0
  163. data/ext/mathematical/{lsmsvgfiltersurface.h → lasem/src/lsmsvgfiltersurface.h} +0 -0
  164. data/ext/mathematical/{lsmsvgfiltertile.c → lasem/src/lsmsvgfiltertile.c} +0 -0
  165. data/ext/mathematical/{lsmsvgfiltertile.h → lasem/src/lsmsvgfiltertile.h} +0 -0
  166. data/ext/mathematical/{lsmsvggelement.c → lasem/src/lsmsvggelement.c} +0 -0
  167. data/ext/mathematical/{lsmsvggelement.h → lasem/src/lsmsvggelement.h} +0 -0
  168. data/ext/mathematical/{lsmsvggradientelement.c → lasem/src/lsmsvggradientelement.c} +0 -0
  169. data/ext/mathematical/{lsmsvggradientelement.h → lasem/src/lsmsvggradientelement.h} +0 -0
  170. data/ext/mathematical/{lsmsvgimageelement.c → lasem/src/lsmsvgimageelement.c} +0 -0
  171. data/ext/mathematical/{lsmsvgimageelement.h → lasem/src/lsmsvgimageelement.h} +0 -0
  172. data/ext/mathematical/{lsmsvglength.c → lasem/src/lsmsvglength.c} +0 -0
  173. data/ext/mathematical/{lsmsvglength.h → lasem/src/lsmsvglength.h} +0 -0
  174. data/ext/mathematical/{lsmsvglineargradientelement.c → lasem/src/lsmsvglineargradientelement.c} +0 -0
  175. data/ext/mathematical/{lsmsvglineargradientelement.h → lasem/src/lsmsvglineargradientelement.h} +0 -0
  176. data/ext/mathematical/{lsmsvglineelement.c → lasem/src/lsmsvglineelement.c} +0 -0
  177. data/ext/mathematical/{lsmsvglineelement.h → lasem/src/lsmsvglineelement.h} +0 -0
  178. data/ext/mathematical/{lsmsvgmarkerelement.c → lasem/src/lsmsvgmarkerelement.c} +0 -0
  179. data/ext/mathematical/{lsmsvgmarkerelement.h → lasem/src/lsmsvgmarkerelement.h} +0 -0
  180. data/ext/mathematical/{lsmsvgmaskelement.c → lasem/src/lsmsvgmaskelement.c} +0 -0
  181. data/ext/mathematical/{lsmsvgmaskelement.h → lasem/src/lsmsvgmaskelement.h} +0 -0
  182. data/ext/mathematical/{lsmsvgmatrix.c → lasem/src/lsmsvgmatrix.c} +0 -0
  183. data/ext/mathematical/{lsmsvgmatrix.h → lasem/src/lsmsvgmatrix.h} +0 -0
  184. data/ext/mathematical/{lsmsvgpathelement.c → lasem/src/lsmsvgpathelement.c} +0 -0
  185. data/ext/mathematical/{lsmsvgpathelement.h → lasem/src/lsmsvgpathelement.h} +0 -0
  186. data/ext/mathematical/{lsmsvgpatternelement.c → lasem/src/lsmsvgpatternelement.c} +0 -0
  187. data/ext/mathematical/{lsmsvgpatternelement.h → lasem/src/lsmsvgpatternelement.h} +0 -0
  188. data/ext/mathematical/{lsmsvgpolygonelement.c → lasem/src/lsmsvgpolygonelement.c} +0 -0
  189. data/ext/mathematical/{lsmsvgpolygonelement.h → lasem/src/lsmsvgpolygonelement.h} +0 -0
  190. data/ext/mathematical/{lsmsvgpolylineelement.c → lasem/src/lsmsvgpolylineelement.c} +0 -0
  191. data/ext/mathematical/{lsmsvgpolylineelement.h → lasem/src/lsmsvgpolylineelement.h} +0 -0
  192. data/ext/mathematical/{lsmsvgradialgradientelement.c → lasem/src/lsmsvgradialgradientelement.c} +0 -0
  193. data/ext/mathematical/{lsmsvgradialgradientelement.h → lasem/src/lsmsvgradialgradientelement.h} +0 -0
  194. data/ext/mathematical/{lsmsvgrectelement.c → lasem/src/lsmsvgrectelement.c} +0 -0
  195. data/ext/mathematical/{lsmsvgrectelement.h → lasem/src/lsmsvgrectelement.h} +0 -0
  196. data/ext/mathematical/{lsmsvgstopelement.c → lasem/src/lsmsvgstopelement.c} +0 -0
  197. data/ext/mathematical/{lsmsvgstopelement.h → lasem/src/lsmsvgstopelement.h} +0 -0
  198. data/ext/mathematical/{lsmsvgstyle.c → lasem/src/lsmsvgstyle.c} +0 -14
  199. data/ext/mathematical/{lsmsvgstyle.h → lasem/src/lsmsvgstyle.h} +0 -0
  200. data/ext/mathematical/{lsmsvgsvgelement.c → lasem/src/lsmsvgsvgelement.c} +0 -0
  201. data/ext/mathematical/{lsmsvgsvgelement.h → lasem/src/lsmsvgsvgelement.h} +0 -0
  202. data/ext/mathematical/{lsmsvgswitchelement.c → lasem/src/lsmsvgswitchelement.c} +0 -0
  203. data/ext/mathematical/{lsmsvgswitchelement.h → lasem/src/lsmsvgswitchelement.h} +0 -0
  204. data/ext/mathematical/{lsmsvgsymbolelement.c → lasem/src/lsmsvgsymbolelement.c} +0 -0
  205. data/ext/mathematical/{lsmsvgsymbolelement.h → lasem/src/lsmsvgsymbolelement.h} +0 -0
  206. data/ext/mathematical/{lsmsvgtextelement.c → lasem/src/lsmsvgtextelement.c} +0 -0
  207. data/ext/mathematical/{lsmsvgtextelement.h → lasem/src/lsmsvgtextelement.h} +0 -0
  208. data/ext/mathematical/{lsmsvgtraits.c → lasem/src/lsmsvgtraits.c} +0 -0
  209. data/ext/mathematical/{lsmsvgtraits.h → lasem/src/lsmsvgtraits.h} +0 -0
  210. data/ext/mathematical/{lsmsvgtransformable.c → lasem/src/lsmsvgtransformable.c} +0 -0
  211. data/ext/mathematical/{lsmsvgtransformable.h → lasem/src/lsmsvgtransformable.h} +0 -0
  212. data/ext/mathematical/{lsmsvgtspanelement.c → lasem/src/lsmsvgtspanelement.c} +0 -0
  213. data/ext/mathematical/{lsmsvgtspanelement.h → lasem/src/lsmsvgtspanelement.h} +0 -0
  214. data/ext/mathematical/{lsmsvgtypes.h → lasem/src/lsmsvgtypes.h} +0 -0
  215. data/ext/mathematical/{lsmsvguseelement.c → lasem/src/lsmsvguseelement.c} +0 -0
  216. data/ext/mathematical/{lsmsvguseelement.h → lasem/src/lsmsvguseelement.h} +0 -0
  217. data/ext/mathematical/{lsmsvgview.c → lasem/src/lsmsvgview.c} +2 -1
  218. data/ext/mathematical/{lsmsvgview.h → lasem/src/lsmsvgview.h} +0 -0
  219. data/ext/mathematical/{lsmtraits.c → lasem/src/lsmtraits.c} +0 -0
  220. data/ext/mathematical/{lsmtraits.h → lasem/src/lsmtraits.h} +0 -0
  221. data/ext/mathematical/{lsmtypes.h → lasem/src/lsmtypes.h} +0 -0
  222. data/ext/mathematical/{lsmutils.c → lasem/src/lsmutils.c} +0 -0
  223. data/ext/mathematical/{lsmutils.h → lasem/src/lsmutils.h} +0 -0
  224. data/ext/mathematical/lasem/tests/dom.c +272 -0
  225. data/ext/mathematical/lasem/tests/lsmtest.c +597 -0
  226. data/ext/mathematical/lasem/tests/str.c +48 -0
  227. data/ext/mathematical/lasem/tests/suite.c +125 -0
  228. data/ext/mathematical/lasem/tools/generate-entity-array.c +2136 -0
  229. data/ext/mathematical/mathematical.c +38 -34
  230. data/lib/mathematical/render.rb +5 -4
  231. data/lib/mathematical/version.rb +1 -1
  232. data/test/mathematical/maliciousness_test.rb +27 -1
  233. metadata +242 -242
  234. data/ext/mathematical/lsmdomenumtypes.c +0 -99
  235. data/ext/mathematical/lsmdomenumtypes.h +0 -26
  236. data/ext/mathematical/lsmmathmlenumtypes.c +0 -666
  237. data/ext/mathematical/lsmmathmlenumtypes.h +0 -90
  238. data/ext/mathematical/lsmsvgenumtypes.c +0 -1083
  239. data/ext/mathematical/lsmsvgenumtypes.h +0 -111
@@ -1,90 +0,0 @@
1
-
2
- /* Generated data (by glib-mkenums) */
3
-
4
- #ifndef LSM_MATHML_ENUM_TYPES_H
5
- #define LSM_MATHML_ENUM_TYPES_H
6
-
7
- #include <glib-object.h>
8
-
9
- G_BEGIN_DECLS
10
-
11
- /* Enumerations from "lsmmathmlenums.h" */
12
-
13
- #define LSM_TYPE_MATHML_CSS_TYPE (lsm_mathml_css_type_get_type())
14
- GType lsm_mathml_css_type_get_type (void) G_GNUC_CONST;
15
-
16
- #define LSM_TYPE_MATHML_MODE (lsm_mathml_mode_get_type())
17
- GType lsm_mathml_mode_get_type (void) G_GNUC_CONST;
18
-
19
- #define LSM_TYPE_MATHML_DISPLAY (lsm_mathml_display_get_type())
20
- GType lsm_mathml_display_get_type (void) G_GNUC_CONST;
21
-
22
- #define LSM_TYPE_MATHML_SPACE_NAME (lsm_mathml_space_name_get_type())
23
- GType lsm_mathml_space_name_get_type (void) G_GNUC_CONST;
24
-
25
- #define LSM_TYPE_MATHML_UNIT (lsm_mathml_unit_get_type())
26
- GType lsm_mathml_unit_get_type (void) G_GNUC_CONST;
27
-
28
- #define LSM_TYPE_MATHML_FONT_STYLE (lsm_mathml_font_style_get_type())
29
- GType lsm_mathml_font_style_get_type (void) G_GNUC_CONST;
30
-
31
- #define LSM_TYPE_MATHML_FONT_WEIGHT (lsm_mathml_font_weight_get_type())
32
- GType lsm_mathml_font_weight_get_type (void) G_GNUC_CONST;
33
-
34
- #define LSM_TYPE_MATHML_VARIANT (lsm_mathml_variant_get_type())
35
- GType lsm_mathml_variant_get_type (void) G_GNUC_CONST;
36
-
37
- #define LSM_TYPE_MATHML_FORM (lsm_mathml_form_get_type())
38
- GType lsm_mathml_form_get_type (void) G_GNUC_CONST;
39
-
40
- #define LSM_TYPE_MATHML_ROW_ALIGN (lsm_mathml_row_align_get_type())
41
- GType lsm_mathml_row_align_get_type (void) G_GNUC_CONST;
42
-
43
- #define LSM_TYPE_MATHML_COLUMN_ALIGN (lsm_mathml_column_align_get_type())
44
- GType lsm_mathml_column_align_get_type (void) G_GNUC_CONST;
45
-
46
- #define LSM_TYPE_MATHML_LINE (lsm_mathml_line_get_type())
47
- GType lsm_mathml_line_get_type (void) G_GNUC_CONST;
48
-
49
- #define LSM_TYPE_MATHML_SCRIPT_LEVEL_SIGN (lsm_mathml_script_level_sign_get_type())
50
- GType lsm_mathml_script_level_sign_get_type (void) G_GNUC_CONST;
51
-
52
- /* Enumerations from "lsmmathmltablerowelement.h" */
53
-
54
- #define LSM_TYPE_MATHML_TABLE_ROW_ELEMENT_TYPE (lsm_mathml_table_row_element_type_get_type())
55
- GType lsm_mathml_table_row_element_type_get_type (void) G_GNUC_CONST;
56
-
57
- /* Enumerations from "lsmmathmlradicalelement.h" */
58
-
59
- #define LSM_TYPE_MATHML_RADICAL_ELEMENT_TYPE (lsm_mathml_radical_element_type_get_type())
60
- GType lsm_mathml_radical_element_type_get_type (void) G_GNUC_CONST;
61
-
62
- /* Enumerations from "lsmmathmlscriptelement.h" */
63
-
64
- #define LSM_TYPE_MATHML_SCRIPT_ELEMENT_TYPE (lsm_mathml_script_element_type_get_type())
65
- GType lsm_mathml_script_element_type_get_type (void) G_GNUC_CONST;
66
-
67
- /* Enumerations from "lsmmathmlunderoverelement.h" */
68
-
69
- #define LSM_TYPE_MATHML_UNDER_OVER_ELEMENT_TYPE (lsm_mathml_under_over_element_type_get_type())
70
- GType lsm_mathml_under_over_element_type_get_type (void) G_GNUC_CONST;
71
-
72
- /* Enumerations from "lsmmathmlpresentationtoken.h" */
73
-
74
- #define LSM_TYPE_MATHML_PRESENTATION_TOKEN_TYPE (lsm_mathml_presentation_token_type_get_type())
75
- GType lsm_mathml_presentation_token_type_get_type (void) G_GNUC_CONST;
76
-
77
- /* Enumerations from "lsmmathmlview.h" */
78
-
79
- #define LSM_TYPE_MATHML_GLYPH_FLAGS (lsm_mathml_glyph_flags_get_type())
80
- GType lsm_mathml_glyph_flags_get_type (void) G_GNUC_CONST;
81
-
82
- #define LSM_TYPE_MATHML_FONT (lsm_mathml_font_get_type())
83
- GType lsm_mathml_font_get_type (void) G_GNUC_CONST;
84
-
85
- G_END_DECLS
86
-
87
- #endif /* LSM_MATHML_ENUM_TYPES_H */
88
-
89
- /* Generated data ends here */
90
-
@@ -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
-