svg.go 77 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093
  1. package svg
  2. import "time"
  3. import "encoding/xml"
  4. type Chardata string
  5. type D string
  6. type Version string
  7. type Docbase string
  8. type Xmlns string
  9. type Cc string
  10. type Dc string
  11. type Inkscape string
  12. type Rdf string
  13. type Docname string
  14. type Sodipodi string
  15. type G string
  16. type Space string
  17. type Style string
  18. type Box string
  19. type Xlink string
  20. type L string
  21. type Filename string
  22. type Xdpi string
  23. type Ydpi string
  24. type Background string
  25. type Bounds string
  26. type Origin string
  27. type Overflow string
  28. type A string
  29. type Graph string
  30. type I string
  31. type Rule string
  32. type Rendering string
  33. type Ratio string
  34. type Fill string
  35. type Linecap string
  36. type Linejoin string
  37. type Ns string
  38. type Ns0 string
  39. type Xap string
  40. type Img string
  41. type Pdf string
  42. type Pdfx string
  43. type Pdfy string
  44. type Author string
  45. type Text string
  46. type About string
  47. type Title string
  48. type Description string
  49. type Date time.Time
  50. type Resource string
  51. type Language string
  52. type Collect string
  53. type Transform string
  54. type Units string
  55. type Href string
  56. type Method string
  57. type Format string
  58. type Offset string
  59. type Stockid string
  60. type Nodetypes string
  61. type Type string
  62. type Orient string
  63. type Fx = float32
  64. type Fy = float32
  65. type Rx = float32
  66. type Ry = float32
  67. type R = float32
  68. type R1 = float32
  69. type R2 = float32
  70. type W = float32
  71. type H = float32
  72. type Cx = float32
  73. type Cy = float32
  74. type Stroke string
  75. type Variant string
  76. type Weight string
  77. type Name string
  78. type Family string
  79. type Unicode string
  80. type Layer string
  81. type Pageshadow string
  82. type Zoom string
  83. type Bbox string
  84. type Showgrid string
  85. type Showguides string
  86. type Guidetolerance string
  87. type Points string
  88. type Gridspacingx float32
  89. type Gridspacingy float32
  90. type Gridtolerance string
  91. type Gridcolor = Color
  92. type Gridopacity = Opacity
  93. type Gridoriginx = float32
  94. type Gridoriginy = float32
  95. type Gridhicolor = Color
  96. type Gridempcolor = Color
  97. type Gridempopacity = Opacity
  98. type Gridempspacing string
  99. type Guidecolor = Color
  100. type Guidehicolor = Color
  101. type Guidehiopacity = Opacity
  102. type Guideopacity = Opacity
  103. type Snaptogrid string
  104. type Showborder string
  105. type Snaptoguides string
  106. type Borderlayer string
  107. type Bordercolor = Color
  108. type Borderopacity = Opacity
  109. type Pagecolor = Color
  110. type Pageopacity = Opacity
  111. type Groupmode string
  112. type Label string
  113. type Insensitive string
  114. type Percent string
  115. type Knockout string
  116. type Trio string
  117. type Display string
  118. type Visible string
  119. type Visibility string
  120. type Cmyk string
  121. type Path string
  122. type Flatsided string
  123. type Rounded string
  124. type Arg1 string
  125. type Arg2 string
  126. type Sides string
  127. type Randomized string
  128. type Size string // XXX
  129. type Anchor string
  130. type Linespacing = Spacing
  131. type Role string
  132. type S string
  133. type Extensions string
  134. type Align string
  135. type Valign string
  136. type Spacing string
  137. type Desc string
  138. type Class string
  139. type Original string
  140. type Radius = float32
  141. type Miterlimit string
  142. type End string
  143. type Open string
  144. type Start string
  145. type Argument string
  146. type Extension string
  147. type Revolution string
  148. type T0 = float32
  149. type Isolated string
  150. type Absref string
  151. type Of string
  152. type Expansion string
  153. type Extraneous string
  154. type Matrix string
  155. type Span string
  156. type Orientation string // XXX
  157. type Position string // XXX
  158. type Color string // XXX
  159. type Opacity string // XXX
  160. type SVG struct {
  161. XMLName xml.Name `xml:"Svg"`
  162. Chardata Chardata `xml:",chardata"`
  163. Height float32 `xml:"height,attr"`
  164. ID D `xml:"id,attr"`
  165. Version Version `xml:"version,attr"`
  166. Docbase Docbase `xml:"docbase,attr"`
  167. Docname Docname `xml:"docname,attr"`
  168. Width float32 `xml:"width,attr"`
  169. Xmlns Xmlns `xml:"xmlns,attr"`
  170. Cc Cc `xml:"cc,attr"`
  171. Dc Dc `xml:"dc,attr"`
  172. Inkscape Inkscape `xml:"inkscape,attr"`
  173. Rdf Rdf `xml:"rdf,attr"`
  174. Sodipodi Sodipodi `xml:"sodipodi,attr"`
  175. SVG G `xml:"svg,attr"`
  176. Space Space `xml:"space,attr"`
  177. AttrStyle Style `xml:"style,attr"`
  178. ViewBox Box `xml:"viewBox,attr"`
  179. Xlink Xlink `xml:"xlink,attr"`
  180. XML L `xml:"xml,attr"`
  181. X float32 `xml:"x,attr"`
  182. Y float32 `xml:"y,attr"`
  183. ExportFilename Filename `xml:"export-filename,attr"`
  184. ExportXdpi Xdpi `xml:"export-xdpi,attr"`
  185. ExportYdpi Ydpi `xml:"export-ydpi,attr"`
  186. EnableBackground Background `xml:"enable-background,attr"`
  187. PageBounds Bounds `xml:"pageBounds,attr"`
  188. RulerOrigin Origin `xml:"rulerOrigin,attr"`
  189. ViewOrigin Origin `xml:"viewOrigin,attr"`
  190. Overflow Overflow `xml:"overflow,attr"`
  191. A A `xml:"a,attr"`
  192. Graph Graph `xml:"graph,attr"`
  193. I I `xml:"i,attr"`
  194. FillRule Rule `xml:"fill-rule,attr"`
  195. ImageRendering Rendering `xml:"image-rendering,attr"`
  196. ShapeRendering Rendering `xml:"shape-rendering,attr"`
  197. TextRendering Rendering `xml:"text-rendering,attr"`
  198. PreserveAspectRatio Ratio `xml:"preserveAspectRatio,attr"`
  199. Fill Fill `xml:"fill,attr"`
  200. StrokeLinecap Linecap `xml:"stroke-linecap,attr"`
  201. StrokeLinejoin Linejoin `xml:"stroke-linejoin,attr"`
  202. StrokeWidth float32 `xml:"stroke-width,attr"`
  203. Ns Ns `xml:"ns,attr"`
  204. Ns0 Ns0 `xml:"ns0,attr"`
  205. Xap Xap `xml:"xap,attr"`
  206. XapGImg Img `xml:"xapGImg,attr"`
  207. Pdf Pdf `xml:"pdf,attr"`
  208. Pdfx Pdfx `xml:"pdfx,attr"`
  209. Author Author `xml:"author,attr"`
  210. Metadata struct {
  211. Text Text `xml:",chardata"`
  212. RDF struct {
  213. Text Text `xml:",chardata"`
  214. Cc Cc `xml:"cc,attr"`
  215. Dc Dc `xml:"dc,attr"`
  216. Rdf Rdf `xml:"rdf,attr"`
  217. Work struct {
  218. Text Text `xml:",chardata"`
  219. About About `xml:"about,attr"`
  220. Title Title `xml:"title"` // shopping_cart, rss_button...
  221. Description Description `xml:"description"` // Button to indicate a link...
  222. Subject struct {
  223. Text Text `xml:",chardata"`
  224. Bag struct {
  225. Text Text `xml:",chardata"`
  226. Li []string `xml:"li"` // activities, shopping, car...
  227. } `xml:"Bag"`
  228. } `xml:"subject"`
  229. Publisher struct {
  230. Text Text `xml:",chardata"`
  231. Agent struct {
  232. Text Text `xml:",chardata"`
  233. About About `xml:"about,attr"`
  234. Title Title `xml:"title"` // Open Clip Art Library, Op...
  235. } `xml:"Agent"`
  236. } `xml:"publisher"`
  237. Creator struct {
  238. Text Text `xml:",chardata"`
  239. Agent struct {
  240. Text Text `xml:",chardata"`
  241. About About `xml:"about,attr"`
  242. Title Title `xml:"title"` // mimooh, Roman Bertle, Lum...
  243. } `xml:"Agent"`
  244. } `xml:"creator"`
  245. Rights struct {
  246. Text Text `xml:",chardata"`
  247. Agent struct {
  248. Text Text `xml:",chardata"`
  249. About About `xml:"about,attr"`
  250. Title Title `xml:"title"` // mimooh, Roman Bertle, Lum...
  251. } `xml:"Agent"`
  252. } `xml:"rights"`
  253. Date Date `xml:"date"` // 2005-09-01, 29 08 2005, S...
  254. Format Format `xml:"format"` // image/svg+xml, image/svg+...
  255. Type struct {
  256. Text Text `xml:",chardata"`
  257. Resource Resource `xml:"resource,attr"`
  258. } `xml:"type"`
  259. License struct {
  260. Text Text `xml:",chardata"`
  261. Resource Resource `xml:"resource,attr"`
  262. } `xml:"license"`
  263. Language Language `xml:"language"` // en, en, All, en, en, en, ...
  264. } `xml:"Work"`
  265. License struct {
  266. Text Text `xml:",chardata"`
  267. About About `xml:"about,attr"`
  268. Permits []struct {
  269. Text Text `xml:",chardata"`
  270. Resource Resource `xml:"resource,attr"`
  271. } `xml:"permits"`
  272. } `xml:"License"`
  273. } `xml:"RDF"`
  274. } `xml:"metadata"`
  275. Defs struct {
  276. Text Text `xml:",chardata"`
  277. ID D `xml:"id,attr"`
  278. LinearGradient []struct {
  279. Text Text `xml:",chardata"`
  280. ID D `xml:"id,attr"`
  281. Collect Collect `xml:"collect,attr"`
  282. GradientTransform Transform `xml:"gradientTransform,attr"`
  283. GradientUnits Units `xml:"gradientUnits,attr"`
  284. X1 float32 `xml:"x1,attr"`
  285. X2 float32 `xml:"x2,attr"`
  286. Href Href `xml:"href,attr"`
  287. Y1 float32 `xml:"y1,attr"`
  288. Y2 float32 `xml:"y2,attr"`
  289. SpreadMethod Method `xml:"spreadMethod,attr"`
  290. Stop []struct {
  291. Text Text `xml:",chardata"`
  292. ID D `xml:"id,attr"`
  293. Offset Offset `xml:"offset,attr"`
  294. Style Style `xml:"style,attr"`
  295. } `xml:"stop"`
  296. } `xml:"linearGradient"`
  297. Style struct {
  298. Text Text `xml:",chardata"` // .str0 {stroke:#1F1A17;str...
  299. ID D `xml:"id,attr"`
  300. Type Type `xml:"type,attr"`
  301. } `xml:"style"`
  302. Mask []struct {
  303. Text Text `xml:",chardata"`
  304. ID D `xml:"id,attr"`
  305. LinearGradient struct {
  306. Text Text `xml:",chardata"`
  307. GradientUnits Units `xml:"gradientUnits,attr"`
  308. ID D `xml:"id,attr"`
  309. X1 float32 `xml:"x1,attr"`
  310. X2 float32 `xml:"x2,attr"`
  311. Y1 float32 `xml:"y1,attr"`
  312. Y2 float32 `xml:"y2,attr"`
  313. Stop []struct {
  314. Text Text `xml:",chardata"`
  315. ID D `xml:"id,attr"`
  316. Offset Offset `xml:"offset,attr"`
  317. Style Style `xml:"style,attr"`
  318. } `xml:"stop"`
  319. } `xml:"linearGradient"`
  320. Rect struct {
  321. Text Text `xml:",chardata"`
  322. Height float32 `xml:"height,attr"`
  323. ID D `xml:"id,attr"`
  324. Style Style `xml:"style,attr"`
  325. Width float32 `xml:"width,attr"`
  326. X float32 `xml:"x,attr"`
  327. Y float32 `xml:"y,attr"`
  328. } `xml:"rect"`
  329. } `xml:"mask"`
  330. Marker []struct {
  331. Text Text `xml:",chardata"`
  332. ID D `xml:"id,attr"`
  333. MarkerHeight float32 `xml:"markerHeight,attr"`
  334. MarkerUnits Units `xml:"markerUnits,attr"`
  335. MarkerWidth float32 `xml:"markerWidth,attr"`
  336. Orient Orient `xml:"orient,attr"`
  337. RefX float32 `xml:"refX,attr"`
  338. RefY float32 `xml:"refY,attr"`
  339. ViewBox Box `xml:"viewBox,attr"`
  340. Stockid Stockid `xml:"stockid,attr"`
  341. Style Style `xml:"style,attr"`
  342. Path struct {
  343. Text Text `xml:",chardata"`
  344. D D `xml:"d,attr"`
  345. ID D `xml:"id,attr"`
  346. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  347. Style Style `xml:"style,attr"`
  348. Transform Transform `xml:"transform,attr"`
  349. } `xml:"path"`
  350. } `xml:"marker"`
  351. RadialGradient []struct {
  352. Text Text `xml:",chardata"`
  353. ID D `xml:"id,attr"`
  354. Href Href `xml:"href,attr"`
  355. Cx Cx `xml:"cx,attr"`
  356. Cy Cy `xml:"cy,attr"`
  357. Fx Fx `xml:"fx,attr"`
  358. Fy Fy `xml:"fy,attr"`
  359. R R `xml:"r,attr"`
  360. GradientTransform Transform `xml:"gradientTransform,attr"`
  361. GradientUnits Units `xml:"gradientUnits,attr"`
  362. Collect Collect `xml:"collect,attr"`
  363. SpreadMethod Method `xml:"spreadMethod,attr"`
  364. } `xml:"radialGradient"`
  365. Rect []struct {
  366. Text Text `xml:",chardata"`
  367. Fill Fill `xml:"fill,attr"`
  368. Height float32 `xml:"height,attr"`
  369. ID D `xml:"id,attr"`
  370. Stroke Stroke `xml:"stroke,attr"`
  371. Width float32 `xml:"width,attr"`
  372. X float32 `xml:"x,attr"`
  373. Y float32 `xml:"y,attr"`
  374. } `xml:"rect"`
  375. G []struct {
  376. Text Text `xml:",chardata"`
  377. ID D `xml:"id,attr"`
  378. Use []struct {
  379. Text Text `xml:",chardata"`
  380. X float32 `xml:"x,attr"`
  381. Href Href `xml:"href,attr"`
  382. Y float32 `xml:"y,attr"`
  383. } `xml:"use"`
  384. } `xml:"g"`
  385. ClipPath []struct {
  386. Text Text `xml:",chardata"`
  387. ID D `xml:"id,attr"`
  388. Path struct {
  389. Text Text `xml:",chardata"`
  390. D D `xml:"d,attr"`
  391. } `xml:"path"`
  392. } `xml:"clipPath"`
  393. Defs []struct {
  394. Text Text `xml:",chardata"`
  395. ID D `xml:"id,attr"`
  396. Mask struct {
  397. Text Text `xml:",chardata"`
  398. ID D `xml:"id,attr"`
  399. Defs struct {
  400. Text Text `xml:",chardata"`
  401. ID D `xml:"id,attr"`
  402. LinearGradient struct {
  403. Text Text `xml:",chardata"`
  404. GradientUnits Units `xml:"gradientUnits,attr"`
  405. ID D `xml:"id,attr"`
  406. X1 float32 `xml:"x1,attr"`
  407. X2 float32 `xml:"x2,attr"`
  408. Y1 float32 `xml:"y1,attr"`
  409. Y2 float32 `xml:"y2,attr"`
  410. Stop []struct {
  411. Text Text `xml:",chardata"`
  412. ID D `xml:"id,attr"`
  413. Offset Offset `xml:"offset,attr"`
  414. Style Style `xml:"style,attr"`
  415. } `xml:"stop"`
  416. } `xml:"linearGradient"`
  417. } `xml:"defs"`
  418. Rect struct {
  419. Text Text `xml:",chardata"`
  420. Height float32 `xml:"height,attr"`
  421. ID D `xml:"id,attr"`
  422. Style Style `xml:"style,attr"`
  423. Width float32 `xml:"width,attr"`
  424. X float32 `xml:"x,attr"`
  425. Y float32 `xml:"y,attr"`
  426. } `xml:"rect"`
  427. } `xml:"mask"`
  428. } `xml:"defs"`
  429. Path struct {
  430. Text Text `xml:",chardata"`
  431. D D `xml:"d,attr"`
  432. Fill Fill `xml:"fill,attr"`
  433. ID D `xml:"id,attr"`
  434. } `xml:"path"`
  435. Namedview []struct {
  436. Text Text `xml:",chardata"`
  437. ID D `xml:"id,attr"`
  438. } `xml:"namedview"`
  439. Font struct {
  440. Text Text `xml:",chardata"`
  441. FontVariant Variant `xml:"fontVariant,attr"`
  442. FontWeight Weight `xml:"fontWeight,attr"`
  443. FullFontName Name `xml:"fullFontName,attr"`
  444. ID D `xml:"id,attr"`
  445. FontFace struct {
  446. Text Text `xml:",chardata"`
  447. FontFamily Family `xml:"font-family,attr"`
  448. ID D `xml:"id,attr"`
  449. } `xml:"font-face"`
  450. MissingGlyph struct {
  451. Text Text `xml:",chardata"`
  452. ID D `xml:"id,attr"`
  453. Path struct {
  454. Text Text `xml:",chardata"`
  455. D D `xml:"d,attr"`
  456. ID D `xml:"id,attr"`
  457. } `xml:"path"`
  458. } `xml:"missing-glyph"`
  459. Glyph []struct {
  460. Text Text `xml:",chardata"`
  461. HorizAdvX float32 `xml:"horiz-adv-x,attr"`
  462. ID D `xml:"id,attr"`
  463. Unicode Unicode `xml:"unicode,attr"`
  464. Path struct {
  465. Text Text `xml:",chardata"`
  466. D D `xml:"d,attr"`
  467. ID D `xml:"id,attr"`
  468. } `xml:"path"`
  469. } `xml:"glyph"`
  470. } `xml:"font"`
  471. } `xml:"defs"`
  472. Namedview struct {
  473. Text Text `xml:",chardata"`
  474. Bordercolor Bordercolor `xml:"bordercolor,attr"`
  475. Borderopacity Borderopacity `xml:"borderopacity,attr"`
  476. ID D `xml:"id,attr"`
  477. CurrentLayer Layer `xml:"current-layer,attr"`
  478. Cx Cx `xml:"cx,attr"`
  479. Cy Cy `xml:"cy,attr"`
  480. Pageopacity Pageopacity `xml:"pageopacity,attr"`
  481. Pageshadow Pageshadow `xml:"pageshadow,attr"`
  482. WindowHeight float32 `xml:"window-height,attr"`
  483. WindowWidth float32 `xml:"window-width,attr"`
  484. WindowX float32 `xml:"window-x,attr"`
  485. WindowY float32 `xml:"window-y,attr"`
  486. Zoom Zoom `xml:"zoom,attr"`
  487. Pagecolor Pagecolor `xml:"pagecolor,attr"`
  488. DocumentUnits Units `xml:"document-units,attr"`
  489. GridBbox Bbox `xml:"grid-bbox,attr"`
  490. GuideBbox Bbox `xml:"guide-bbox,attr"`
  491. Showgrid Showgrid `xml:"showgrid,attr"`
  492. Showguides Showguides `xml:"showguides,attr"`
  493. Guidetolerance Guidetolerance `xml:"guidetolerance,attr"`
  494. GuidePoints Points `xml:"guide-points,attr"`
  495. Gridspacingx Gridspacingx `xml:"gridspacingx,attr"`
  496. Gridspacingy Gridspacingy `xml:"gridspacingy,attr"`
  497. Gridtolerance Gridtolerance `xml:"gridtolerance,attr"`
  498. GridPoints Points `xml:"grid-points,attr"`
  499. Gridcolor Gridcolor `xml:"gridcolor,attr"`
  500. Gridopacity Gridopacity `xml:"gridopacity,attr"`
  501. Gridoriginx Gridoriginx `xml:"gridoriginx,attr"`
  502. Gridoriginy Gridoriginy `xml:"gridoriginy,attr"`
  503. Guidecolor Guidecolor `xml:"guidecolor,attr"`
  504. Guidehicolor Guidehicolor `xml:"guidehicolor,attr"`
  505. Guidehiopacity Guidehiopacity `xml:"guidehiopacity,attr"`
  506. Guideopacity Guideopacity `xml:"guideopacity,attr"`
  507. Snaptogrid Snaptogrid `xml:"snaptogrid,attr"`
  508. Fill Fill `xml:"fill,attr"`
  509. Gridhicolor Gridhicolor `xml:"gridhicolor,attr"`
  510. Showborder Showborder `xml:"showborder,attr"`
  511. Snaptoguides Snaptoguides `xml:"snaptoguides,attr"`
  512. Borderlayer Borderlayer `xml:"borderlayer,attr"`
  513. Gridempcolor Gridempcolor `xml:"gridempcolor,attr"`
  514. Gridempopacity Gridempopacity `xml:"gridempopacity,attr"`
  515. Gridempspacing Gridempspacing `xml:"gridempspacing,attr"`
  516. Guide []struct {
  517. Text Text `xml:",chardata"`
  518. ID D `xml:"id,attr"`
  519. Orientation Orientation `xml:"orientation,attr"`
  520. Position Position `xml:"position,attr"`
  521. } `xml:"guide"`
  522. } `xml:"namedview"`
  523. G []struct {
  524. Chardata Chardata `xml:",chardata"`
  525. ID D `xml:"id,attr"`
  526. Transform Transform `xml:"transform,attr"`
  527. Groupmode Groupmode `xml:"groupmode,attr"`
  528. Label Label `xml:"label,attr"`
  529. Insensitive Insensitive `xml:"insensitive,attr"`
  530. Style Style `xml:"style,attr"`
  531. DimmedPercent Percent `xml:"dimmedPercent,attr"`
  532. Knockout Knockout `xml:"knockout,attr"`
  533. Layer Layer `xml:"layer,attr"`
  534. RgbTrio Trio `xml:"rgbTrio,attr"`
  535. Display Display `xml:"display,attr"`
  536. Visible Visible `xml:"visible,attr"`
  537. Visibility Visibility `xml:"visibility,attr"`
  538. Fill Fill `xml:"fill,attr"`
  539. Stroke Stroke `xml:"stroke,attr"`
  540. StrokeWidth float32 `xml:"stroke-width,attr"`
  541. ExportFilename Filename `xml:"export-filename,attr"`
  542. ExportXdpi Xdpi `xml:"export-xdpi,attr"`
  543. ExportYdpi Ydpi `xml:"export-ydpi,attr"`
  544. StrokeLinecap Linecap `xml:"stroke-linecap,attr"`
  545. Rect []struct {
  546. Text Text `xml:",chardata"`
  547. Height float32 `xml:"height,attr"`
  548. ID D `xml:"id,attr"`
  549. Rx Rx `xml:"rx,attr"`
  550. Ry Ry `xml:"ry,attr"`
  551. Style Style `xml:"style,attr"`
  552. Width float32 `xml:"width,attr"`
  553. X float32 `xml:"x,attr"`
  554. Y float32 `xml:"y,attr"`
  555. Transform Transform `xml:"transform,attr"`
  556. Fill Fill `xml:"fill,attr"`
  557. Stroke Stroke `xml:"stroke,attr"`
  558. StrokeWidth float32 `xml:"stroke-width,attr"`
  559. Label Label `xml:"label,attr"`
  560. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  561. Insensitive Insensitive `xml:"insensitive,attr"`
  562. } `xml:"rect"`
  563. G []struct {
  564. Chardata Chardata `xml:",chardata"`
  565. ID D `xml:"id,attr"`
  566. Transform Transform `xml:"transform,attr"`
  567. Style Style `xml:"style,attr"`
  568. ExportFilename Filename `xml:"export-filename,attr"`
  569. ExportXdpi Xdpi `xml:"export-xdpi,attr"`
  570. ExportYdpi Ydpi `xml:"export-ydpi,attr"`
  571. Groupmode Groupmode `xml:"groupmode,attr"`
  572. Label Label `xml:"label,attr"`
  573. Display Display `xml:"display,attr"`
  574. Knockout Knockout `xml:"knockout,attr"`
  575. G []struct {
  576. Chardata Chardata `xml:",chardata"`
  577. ID D `xml:"id,attr"`
  578. Transform Transform `xml:"transform,attr"`
  579. Style Style `xml:"style,attr"`
  580. Path []struct {
  581. Text Text `xml:",chardata"`
  582. D D `xml:"d,attr"`
  583. ID D `xml:"id,attr"`
  584. Cx Cx `xml:"cx,attr"`
  585. Cy Cy `xml:"cy,attr"`
  586. Rx Rx `xml:"rx,attr"`
  587. Ry Ry `xml:"ry,attr"`
  588. Type Type `xml:"type,attr"`
  589. Style Style `xml:"style,attr"`
  590. Transform Transform `xml:"transform,attr"`
  591. Fill Fill `xml:"fill,attr"`
  592. Knockout Knockout `xml:"knockout,attr"`
  593. Stroke Stroke `xml:"stroke,attr"`
  594. StrokeWidth float32 `xml:"stroke-width,attr"`
  595. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  596. TileCx Cx `xml:"tile-cx,attr"`
  597. TileCy Cy `xml:"tile-cy,attr"`
  598. TileH H `xml:"tile-h,attr"`
  599. TileW W `xml:"tile-w,attr"`
  600. ClipPath Path `xml:"clip-path,attr"`
  601. ClipRule Rule `xml:"clip-rule,attr"`
  602. FillRule Rule `xml:"fill-rule,attr"`
  603. Flatsided Flatsided `xml:"flatsided,attr"`
  604. Rounded Rounded `xml:"rounded,attr"`
  605. Arg1 Arg1 `xml:"arg1,attr"`
  606. Arg2 Arg2 `xml:"arg2,attr"`
  607. R1 R1 `xml:"r1,attr"`
  608. R2 R2 `xml:"r2,attr"`
  609. Sides Sides `xml:"sides,attr"`
  610. } `xml:"path"`
  611. G []struct {
  612. Chardata Chardata `xml:",chardata"`
  613. ID D `xml:"id,attr"`
  614. Style Style `xml:"style,attr"`
  615. Transform Transform `xml:"transform,attr"`
  616. AttrClipPath Path `xml:"clip-path,attr"`
  617. Path []struct {
  618. Text Text `xml:",chardata"`
  619. D D `xml:"d,attr"`
  620. ID D `xml:"id,attr"`
  621. Cx Cx `xml:"cx,attr"`
  622. Cy Cy `xml:"cy,attr"`
  623. Rx Rx `xml:"rx,attr"`
  624. Ry Ry `xml:"ry,attr"`
  625. Type Type `xml:"type,attr"`
  626. Style Style `xml:"style,attr"`
  627. Transform Transform `xml:"transform,attr"`
  628. Knockout Knockout `xml:"knockout,attr"`
  629. Stroke Stroke `xml:"stroke,attr"`
  630. StrokeWidth float32 `xml:"stroke-width,attr"`
  631. Flatsided Flatsided `xml:"flatsided,attr"`
  632. Randomized Randomized `xml:"randomized,attr"`
  633. Rounded Rounded `xml:"rounded,attr"`
  634. Arg1 Arg1 `xml:"arg1,attr"`
  635. Arg2 Arg2 `xml:"arg2,attr"`
  636. R1 R1 `xml:"r1,attr"`
  637. R2 R2 `xml:"r2,attr"`
  638. Sides Sides `xml:"sides,attr"`
  639. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  640. } `xml:"path"`
  641. Use []struct {
  642. Text Text `xml:",chardata"`
  643. Transform Transform `xml:"transform,attr"`
  644. Href Href `xml:"href,attr"`
  645. } `xml:"use"`
  646. Text []struct {
  647. Text Text `xml:",chardata"`
  648. FontSize Size `xml:"font-size,attr"`
  649. ID D `xml:"id,attr"`
  650. TextAnchor Anchor `xml:"text-anchor,attr"`
  651. X float32 `xml:"x,attr"`
  652. Y float32 `xml:"y,attr"`
  653. Linespacing Linespacing `xml:"linespacing,attr"`
  654. Style Style `xml:"style,attr"`
  655. Space Space `xml:"space,attr"`
  656. Tspan []struct {
  657. Text Text `xml:",chardata"` // 0, 0, 75678, 16412, 5, c,...
  658. ID D `xml:"id,attr"`
  659. Role Role `xml:"role,attr"`
  660. X float32 `xml:"x,attr"`
  661. Y float32 `xml:"y,attr"`
  662. } `xml:"tspan"`
  663. } `xml:"text"`
  664. G []struct {
  665. Text Text `xml:",chardata"`
  666. ID D `xml:"id,attr"`
  667. Transform Transform `xml:"transform,attr"`
  668. Style Style `xml:"style,attr"`
  669. AttrClipPath Path `xml:"clip-path,attr"`
  670. Path []struct {
  671. Text Text `xml:",chardata"`
  672. D D `xml:"d,attr"`
  673. ID D `xml:"id,attr"`
  674. Style Style `xml:"style,attr"`
  675. Transform Transform `xml:"transform,attr"`
  676. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  677. } `xml:"path"`
  678. Rect []struct {
  679. Text Text `xml:",chardata"`
  680. Height float32 `xml:"height,attr"`
  681. ID D `xml:"id,attr"`
  682. Style Style `xml:"style,attr"`
  683. Transform Transform `xml:"transform,attr"`
  684. Width float32 `xml:"width,attr"`
  685. X float32 `xml:"x,attr"`
  686. Y float32 `xml:"y,attr"`
  687. } `xml:"rect"`
  688. G []struct {
  689. Text Text `xml:",chardata"`
  690. ID D `xml:"id,attr"`
  691. Transform Transform `xml:"transform,attr"`
  692. Style Style `xml:"style,attr"`
  693. AttrClipPath Path `xml:"clip-path,attr"`
  694. Path []struct {
  695. Text Text `xml:",chardata"`
  696. D D `xml:"d,attr"`
  697. ID D `xml:"id,attr"`
  698. Style Style `xml:"style,attr"`
  699. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  700. Transform Transform `xml:"transform,attr"`
  701. } `xml:"path"`
  702. G []struct {
  703. Text Text `xml:",chardata"`
  704. ID D `xml:"id,attr"`
  705. Style Style `xml:"style,attr"`
  706. ClipPath Path `xml:"clip-path,attr"`
  707. Transform Transform `xml:"transform,attr"`
  708. Path []struct {
  709. Text Text `xml:",chardata"`
  710. D D `xml:"d,attr"`
  711. ID D `xml:"id,attr"`
  712. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  713. Style Style `xml:"style,attr"`
  714. Transform Transform `xml:"transform,attr"`
  715. } `xml:"path"`
  716. Switch struct {
  717. Text Text `xml:",chardata"`
  718. ObjectNS S `xml:"objectNS,attr"`
  719. ObjectType Type `xml:"objectType,attr"`
  720. ID D `xml:"id,attr"`
  721. Transform Transform `xml:"transform,attr"`
  722. ForeignObject struct {
  723. Text Text `xml:",chardata"`
  724. Height float32 `xml:"height,attr"`
  725. Overflow Overflow `xml:"overflow,attr"`
  726. RequiredExtensions Extensions `xml:"requiredExtensions,attr"`
  727. Width float32 `xml:"width,attr"`
  728. X float32 `xml:"x,attr"`
  729. Y float32 `xml:"y,attr"`
  730. ImageReplacement struct {
  731. Text Text `xml:",chardata"`
  732. Align Align `xml:"align,attr"`
  733. Height float32 `xml:"height,attr"`
  734. PlacementMethod Method `xml:"placementMethod,attr"`
  735. RefHeight float32 `xml:"refHeight,attr"`
  736. RefWidth float32 `xml:"refWidth,attr"`
  737. Valign Valign `xml:"valign,attr"`
  738. Width float32 `xml:"width,attr"`
  739. X float32 `xml:"x,attr"`
  740. Xmlns Xmlns `xml:"xmlns,attr"`
  741. Y float32 `xml:"y,attr"`
  742. } `xml:"imageReplacement"`
  743. TargetRef struct {
  744. Text Text `xml:",chardata"`
  745. Href Href `xml:"href,attr"`
  746. } `xml:"targetRef"`
  747. } `xml:"foreignObject"`
  748. Image struct {
  749. Text Text `xml:",chardata"`
  750. Height float32 `xml:"height,attr"`
  751. Knockout Knockout `xml:"knockout,attr"`
  752. ID D `xml:"id,attr"`
  753. Width float32 `xml:"width,attr"`
  754. Href Href `xml:"href,attr"`
  755. } `xml:"image"`
  756. } `xml:"switch"`
  757. Rect struct {
  758. Text Text `xml:",chardata"`
  759. Height float32 `xml:"height,attr"`
  760. ID D `xml:"id,attr"`
  761. Style Style `xml:"style,attr"`
  762. Width float32 `xml:"width,attr"`
  763. X float32 `xml:"x,attr"`
  764. Y float32 `xml:"y,attr"`
  765. } `xml:"rect"`
  766. Ellipse struct {
  767. Text Text `xml:",chardata"`
  768. Cx Cx `xml:"cx,attr"`
  769. Cy Cy `xml:"cy,attr"`
  770. ID D `xml:"id,attr"`
  771. Rx Rx `xml:"rx,attr"`
  772. Ry Ry `xml:"ry,attr"`
  773. Style Style `xml:"style,attr"`
  774. Transform Transform `xml:"transform,attr"`
  775. } `xml:"ellipse"`
  776. G []struct {
  777. Text Text `xml:",chardata"`
  778. ID D `xml:"id,attr"`
  779. Transform Transform `xml:"transform,attr"`
  780. Rect struct {
  781. Text Text `xml:",chardata"`
  782. Height float32 `xml:"height,attr"`
  783. ID D `xml:"id,attr"`
  784. Style Style `xml:"style,attr"`
  785. Width float32 `xml:"width,attr"`
  786. X float32 `xml:"x,attr"`
  787. Y float32 `xml:"y,attr"`
  788. } `xml:"rect"`
  789. Ellipse struct {
  790. Text Text `xml:",chardata"`
  791. Cx Cx `xml:"cx,attr"`
  792. Cy Cy `xml:"cy,attr"`
  793. ID D `xml:"id,attr"`
  794. Rx Rx `xml:"rx,attr"`
  795. Ry Ry `xml:"ry,attr"`
  796. Style Style `xml:"style,attr"`
  797. Transform Transform `xml:"transform,attr"`
  798. } `xml:"ellipse"`
  799. G []struct {
  800. Text Text `xml:",chardata"`
  801. ID D `xml:"id,attr"`
  802. Transform Transform `xml:"transform,attr"`
  803. Rect struct {
  804. Text Text `xml:",chardata"`
  805. Height float32 `xml:"height,attr"`
  806. ID D `xml:"id,attr"`
  807. Style Style `xml:"style,attr"`
  808. Width float32 `xml:"width,attr"`
  809. X float32 `xml:"x,attr"`
  810. Y float32 `xml:"y,attr"`
  811. } `xml:"rect"`
  812. Ellipse struct {
  813. Text Text `xml:",chardata"`
  814. Cx Cx `xml:"cx,attr"`
  815. Cy Cy `xml:"cy,attr"`
  816. ID D `xml:"id,attr"`
  817. Rx Rx `xml:"rx,attr"`
  818. Ry Ry `xml:"ry,attr"`
  819. Style Style `xml:"style,attr"`
  820. Transform Transform `xml:"transform,attr"`
  821. } `xml:"ellipse"`
  822. } `xml:"g"`
  823. } `xml:"g"`
  824. } `xml:"g"`
  825. Defs struct {
  826. Text Text `xml:",chardata"`
  827. Rect struct {
  828. Text Text `xml:",chardata"`
  829. Height float32 `xml:"height,attr"`
  830. ID D `xml:"id,attr"`
  831. Transform Transform `xml:"transform,attr"`
  832. Width float32 `xml:"width,attr"`
  833. X float32 `xml:"x,attr"`
  834. Y float32 `xml:"y,attr"`
  835. } `xml:"rect"`
  836. } `xml:"defs"`
  837. ClipPath struct {
  838. Text Text `xml:",chardata"`
  839. ID D `xml:"id,attr"`
  840. Use struct {
  841. Text Text `xml:",chardata"`
  842. Href Href `xml:"href,attr"`
  843. } `xml:"use"`
  844. } `xml:"clipPath"`
  845. Switch struct {
  846. Text Text `xml:",chardata"`
  847. ObjectNS S `xml:"objectNS,attr"`
  848. ObjectType Type `xml:"objectType,attr"`
  849. ID D `xml:"id,attr"`
  850. Transform Transform `xml:"transform,attr"`
  851. ForeignObject struct {
  852. Text Text `xml:",chardata"`
  853. Height float32 `xml:"height,attr"`
  854. Overflow Overflow `xml:"overflow,attr"`
  855. RequiredExtensions Extensions `xml:"requiredExtensions,attr"`
  856. Width float32 `xml:"width,attr"`
  857. X float32 `xml:"x,attr"`
  858. Y float32 `xml:"y,attr"`
  859. ImageReplacement struct {
  860. Text Text `xml:",chardata"`
  861. Align Align `xml:"align,attr"`
  862. Height float32 `xml:"height,attr"`
  863. PlacementMethod Method `xml:"placementMethod,attr"`
  864. RefHeight float32 `xml:"refHeight,attr"`
  865. RefWidth float32 `xml:"refWidth,attr"`
  866. Valign Valign `xml:"valign,attr"`
  867. Width float32 `xml:"width,attr"`
  868. X float32 `xml:"x,attr"`
  869. Xmlns Xmlns `xml:"xmlns,attr"`
  870. Y float32 `xml:"y,attr"`
  871. } `xml:"imageReplacement"`
  872. TargetRef struct {
  873. Text Text `xml:",chardata"`
  874. Href Href `xml:"href,attr"`
  875. } `xml:"targetRef"`
  876. } `xml:"foreignObject"`
  877. Image struct {
  878. Text Text `xml:",chardata"`
  879. Height float32 `xml:"height,attr"`
  880. Knockout Knockout `xml:"knockout,attr"`
  881. ID D `xml:"id,attr"`
  882. Width float32 `xml:"width,attr"`
  883. Href Href `xml:"href,attr"`
  884. } `xml:"image"`
  885. } `xml:"switch"`
  886. Rect struct {
  887. Text Text `xml:",chardata"`
  888. Height float32 `xml:"height,attr"`
  889. ID D `xml:"id,attr"`
  890. Style Style `xml:"style,attr"`
  891. Width float32 `xml:"width,attr"`
  892. X float32 `xml:"x,attr"`
  893. Y float32 `xml:"y,attr"`
  894. } `xml:"rect"`
  895. Ellipse struct {
  896. Text Text `xml:",chardata"`
  897. Cx Cx `xml:"cx,attr"`
  898. Cy Cy `xml:"cy,attr"`
  899. ID D `xml:"id,attr"`
  900. Rx Rx `xml:"rx,attr"`
  901. Ry Ry `xml:"ry,attr"`
  902. Style Style `xml:"style,attr"`
  903. Transform Transform `xml:"transform,attr"`
  904. } `xml:"ellipse"`
  905. } `xml:"g"`
  906. Defs struct {
  907. Text Text `xml:",chardata"`
  908. Rect struct {
  909. Text Text `xml:",chardata"`
  910. Height float32 `xml:"height,attr"`
  911. ID D `xml:"id,attr"`
  912. Width float32 `xml:"width,attr"`
  913. X float32 `xml:"x,attr"`
  914. Y float32 `xml:"y,attr"`
  915. } `xml:"rect"`
  916. } `xml:"defs"`
  917. ClipPath struct {
  918. Text Text `xml:",chardata"`
  919. ID D `xml:"id,attr"`
  920. Use struct {
  921. Text Text `xml:",chardata"`
  922. Href Href `xml:"href,attr"`
  923. } `xml:"use"`
  924. } `xml:"clipPath"`
  925. Ellipse []struct {
  926. Text Text `xml:",chardata"`
  927. Cx Cx `xml:"cx,attr"`
  928. Cy Cy `xml:"cy,attr"`
  929. ID D `xml:"id,attr"`
  930. Rx Rx `xml:"rx,attr"`
  931. Ry Ry `xml:"ry,attr"`
  932. Style Style `xml:"style,attr"`
  933. Transform Transform `xml:"transform,attr"`
  934. } `xml:"ellipse"`
  935. } `xml:"g"`
  936. Rect []struct {
  937. Text Text `xml:",chardata"`
  938. Height float32 `xml:"height,attr"`
  939. ID D `xml:"id,attr"`
  940. Style Style `xml:"style,attr"`
  941. Width float32 `xml:"width,attr"`
  942. X float32 `xml:"x,attr"`
  943. Y float32 `xml:"y,attr"`
  944. Transform Transform `xml:"transform,attr"`
  945. Rx Rx `xml:"rx,attr"`
  946. Ry Ry `xml:"ry,attr"`
  947. } `xml:"rect"`
  948. Defs struct {
  949. Text Text `xml:",chardata"`
  950. Rect struct {
  951. Text Text `xml:",chardata"`
  952. Height float32 `xml:"height,attr"`
  953. ID D `xml:"id,attr"`
  954. Transform Transform `xml:"transform,attr"`
  955. Width float32 `xml:"width,attr"`
  956. X float32 `xml:"x,attr"`
  957. Y float32 `xml:"y,attr"`
  958. } `xml:"rect"`
  959. } `xml:"defs"`
  960. ClipPath struct {
  961. Text Text `xml:",chardata"`
  962. ID D `xml:"id,attr"`
  963. Use struct {
  964. Text Text `xml:",chardata"`
  965. Href Href `xml:"href,attr"`
  966. } `xml:"use"`
  967. } `xml:"clipPath"`
  968. Polygon []struct {
  969. Text Text `xml:",chardata"`
  970. ID D `xml:"id,attr"`
  971. Points Points `xml:"points,attr"`
  972. Arg1 Arg1 `xml:"arg1,attr"`
  973. Arg2 Arg2 `xml:"arg2,attr"`
  974. Cx Cx `xml:"cx,attr"`
  975. Cy Cy `xml:"cy,attr"`
  976. R1 R1 `xml:"r1,attr"`
  977. R2 R2 `xml:"r2,attr"`
  978. Sides Sides `xml:"sides,attr"`
  979. Type Type `xml:"type,attr"`
  980. Style Style `xml:"style,attr"`
  981. Transform Transform `xml:"transform,attr"`
  982. } `xml:"polygon"`
  983. A struct {
  984. Text Text `xml:",chardata"`
  985. ID D `xml:"id,attr"`
  986. Transform Transform `xml:"transform,attr"`
  987. G struct {
  988. Text Text `xml:",chardata"`
  989. ID D `xml:"id,attr"`
  990. Transform Transform `xml:"transform,attr"`
  991. G []struct {
  992. Text Text `xml:",chardata"`
  993. ID D `xml:"id,attr"`
  994. Transform Transform `xml:"transform,attr"`
  995. Path []struct {
  996. Text Text `xml:",chardata"`
  997. D D `xml:"d,attr"`
  998. ID D `xml:"id,attr"`
  999. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  1000. Style Style `xml:"style,attr"`
  1001. } `xml:"path"`
  1002. } `xml:"g"`
  1003. } `xml:"g"`
  1004. } `xml:"a"`
  1005. Ellipse []struct {
  1006. Text Text `xml:",chardata"`
  1007. Cx Cx `xml:"cx,attr"`
  1008. Cy Cy `xml:"cy,attr"`
  1009. ID D `xml:"id,attr"`
  1010. Rx Rx `xml:"rx,attr"`
  1011. Ry Ry `xml:"ry,attr"`
  1012. Style Style `xml:"style,attr"`
  1013. Transform Transform `xml:"transform,attr"`
  1014. } `xml:"ellipse"`
  1015. } `xml:"g"`
  1016. Rect []struct {
  1017. Text Text `xml:",chardata"`
  1018. Fill Fill `xml:"fill,attr"`
  1019. Height float32 `xml:"height,attr"`
  1020. Knockout Knockout `xml:"knockout,attr"`
  1021. Stroke Stroke `xml:"stroke,attr"`
  1022. StrokeWidth float32 `xml:"stroke-width,attr"`
  1023. Transform Transform `xml:"transform,attr"`
  1024. Width float32 `xml:"width,attr"`
  1025. X float32 `xml:"x,attr"`
  1026. Y float32 `xml:"y,attr"`
  1027. ID D `xml:"id,attr"`
  1028. Style Style `xml:"style,attr"`
  1029. Rx Rx `xml:"rx,attr"`
  1030. Ry Ry `xml:"ry,attr"`
  1031. ClipPath Path `xml:"clip-path,attr"`
  1032. } `xml:"rect"`
  1033. LinearGradient struct {
  1034. Text Text `xml:",chardata"`
  1035. GradientUnits Units `xml:"gradientUnits,attr"`
  1036. ID D `xml:"id,attr"`
  1037. X1 float32 `xml:"x1,attr"`
  1038. X2 float32 `xml:"x2,attr"`
  1039. Y1 float32 `xml:"y1,attr"`
  1040. Y2 float32 `xml:"y2,attr"`
  1041. Stop []struct {
  1042. Text Text `xml:",chardata"`
  1043. Offset Offset `xml:"offset,attr"`
  1044. Style Style `xml:"style,attr"`
  1045. } `xml:"stop"`
  1046. MidPointStop []struct {
  1047. Text Text `xml:",chardata"`
  1048. Offset Offset `xml:"offset,attr"`
  1049. Style Style `xml:"style,attr"`
  1050. } `xml:"midPointStop"`
  1051. } `xml:"linearGradient"`
  1052. Desc Desc `xml:"desc"` // Drawing, Drawing, Drawing...
  1053. Defs struct {
  1054. Text Text `xml:",chardata"`
  1055. Rect struct {
  1056. Text Text `xml:",chardata"`
  1057. Height float32 `xml:"height,attr"`
  1058. ID D `xml:"id,attr"`
  1059. Width float32 `xml:"width,attr"`
  1060. X float32 `xml:"x,attr"`
  1061. Y float32 `xml:"y,attr"`
  1062. } `xml:"rect"`
  1063. Path struct {
  1064. Text Text `xml:",chardata"`
  1065. D D `xml:"d,attr"`
  1066. ID D `xml:"id,attr"`
  1067. } `xml:"path"`
  1068. } `xml:"defs"`
  1069. ClipPath struct {
  1070. Text Text `xml:",chardata"`
  1071. ID D `xml:"id,attr"`
  1072. Use struct {
  1073. Text Text `xml:",chardata"`
  1074. Href Href `xml:"href,attr"`
  1075. } `xml:"use"`
  1076. } `xml:"clipPath"`
  1077. Ellipse []struct {
  1078. Text Text `xml:",chardata"`
  1079. Cx Cx `xml:"cx,attr"`
  1080. Cy Cy `xml:"cy,attr"`
  1081. ID D `xml:"id,attr"`
  1082. Rx Rx `xml:"rx,attr"`
  1083. Ry Ry `xml:"ry,attr"`
  1084. Style Style `xml:"style,attr"`
  1085. Transform Transform `xml:"transform,attr"`
  1086. } `xml:"ellipse"`
  1087. Polygon []struct {
  1088. Text Text `xml:",chardata"`
  1089. ID D `xml:"id,attr"`
  1090. Points Points `xml:"points,attr"`
  1091. Arg1 Arg1 `xml:"arg1,attr"`
  1092. Arg2 Arg2 `xml:"arg2,attr"`
  1093. Cx Cx `xml:"cx,attr"`
  1094. Cy Cy `xml:"cy,attr"`
  1095. R1 R1 `xml:"r1,attr"`
  1096. R2 R2 `xml:"r2,attr"`
  1097. Sides Sides `xml:"sides,attr"`
  1098. Type Type `xml:"type,attr"`
  1099. Style Style `xml:"style,attr"`
  1100. Transform Transform `xml:"transform,attr"`
  1101. } `xml:"polygon"`
  1102. Use []struct {
  1103. Text Text `xml:",chardata"`
  1104. Height float32 `xml:"height,attr"`
  1105. ID D `xml:"id,attr"`
  1106. Transform Transform `xml:"transform,attr"`
  1107. Width float32 `xml:"width,attr"`
  1108. X float32 `xml:"x,attr"`
  1109. Href Href `xml:"href,attr"`
  1110. Y float32 `xml:"y,attr"`
  1111. } `xml:"use"`
  1112. Text []struct {
  1113. Text Text `xml:",chardata"`
  1114. ID D `xml:"id,attr"`
  1115. Linespacing Linespacing `xml:"linespacing,attr"`
  1116. Style Style `xml:"style,attr"`
  1117. X float32 `xml:"x,attr"`
  1118. Y float32 `xml:"y,attr"`
  1119. Tspan struct {
  1120. Text Text `xml:",chardata"` // L, I, B, E, R, T, A, S
  1121. ID D `xml:"id,attr"`
  1122. Role Role `xml:"role,attr"`
  1123. X float32 `xml:"x,attr"`
  1124. Y float32 `xml:"y,attr"`
  1125. } `xml:"tspan"`
  1126. } `xml:"text"`
  1127. } `xml:"g"`
  1128. Path []struct {
  1129. Text Text `xml:",chardata"`
  1130. D D `xml:"d,attr"`
  1131. ID D `xml:"id,attr"`
  1132. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  1133. Style Style `xml:"style,attr"`
  1134. Cx Cx `xml:"cx,attr"`
  1135. Cy Cy `xml:"cy,attr"`
  1136. Rx Rx `xml:"rx,attr"`
  1137. Ry Ry `xml:"ry,attr"`
  1138. Type Type `xml:"type,attr"`
  1139. Transform Transform `xml:"transform,attr"`
  1140. Class Class `xml:"class,attr"`
  1141. Fill Fill `xml:"fill,attr"`
  1142. Knockout Knockout `xml:"knockout,attr"`
  1143. Stroke Stroke `xml:"stroke,attr"`
  1144. StrokeWidth float32 `xml:"stroke-width,attr"`
  1145. Original Original `xml:"original,attr"`
  1146. Radius Radius `xml:"radius,attr"`
  1147. ClipRule Rule `xml:"clip-rule,attr"`
  1148. FillRule Rule `xml:"fill-rule,attr"`
  1149. StrokeMiterlimit Miterlimit `xml:"stroke-miterlimit,attr"`
  1150. Flatsided Flatsided `xml:"flatsided,attr"`
  1151. Randomized Randomized `xml:"randomized,attr"`
  1152. Rounded Rounded `xml:"rounded,attr"`
  1153. Arg1 Arg1 `xml:"arg1,attr"`
  1154. Arg2 Arg2 `xml:"arg2,attr"`
  1155. R1 R1 `xml:"r1,attr"`
  1156. R2 R2 `xml:"r2,attr"`
  1157. Sides Sides `xml:"sides,attr"`
  1158. Opacity Opacity `xml:"opacity,attr"`
  1159. End End `xml:"end,attr"`
  1160. Open Open `xml:"open,attr"`
  1161. Start Start `xml:"start,attr"`
  1162. Argument Argument `xml:"argument,attr"`
  1163. Expansion Expansion `xml:"expansion,attr"`
  1164. Revolution Revolution `xml:"revolution,attr"`
  1165. T0 T0 `xml:"t0,attr"`
  1166. } `xml:"path"`
  1167. Rect []struct {
  1168. Text Text `xml:",chardata"`
  1169. Height float32 `xml:"height,attr"`
  1170. ID D `xml:"id,attr"`
  1171. Rx Rx `xml:"rx,attr"`
  1172. Ry Ry `xml:"ry,attr"`
  1173. Style Style `xml:"style,attr"`
  1174. Width float32 `xml:"width,attr"`
  1175. X float32 `xml:"x,attr"`
  1176. Y float32 `xml:"y,attr"`
  1177. Transform Transform `xml:"transform,attr"`
  1178. Fill Fill `xml:"fill,attr"`
  1179. Knockout Knockout `xml:"knockout,attr"`
  1180. Stroke Stroke `xml:"stroke,attr"`
  1181. StrokeWidth float32 `xml:"stroke-width,attr"`
  1182. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  1183. Class Class `xml:"class,attr"`
  1184. } `xml:"rect"`
  1185. Text []struct {
  1186. Text Text `xml:",chardata"`
  1187. ID D `xml:"id,attr"`
  1188. Linespacing Linespacing `xml:"linespacing,attr"`
  1189. Space Space `xml:"space,attr"`
  1190. Style Style `xml:"style,attr"`
  1191. X float32 `xml:"x,attr"`
  1192. Y float32 `xml:"y,attr"`
  1193. Transform Transform `xml:"transform,attr"`
  1194. Tspan struct {
  1195. Text Text `xml:",chardata"` // RSS, RSS, 12, 6, 3, 9, W,...
  1196. ID D `xml:"id,attr"`
  1197. Role Role `xml:"role,attr"`
  1198. Style Style `xml:"style,attr"`
  1199. X float32 `xml:"x,attr"`
  1200. Y float32 `xml:"y,attr"`
  1201. } `xml:"tspan"`
  1202. } `xml:"text"`
  1203. LinearGradient []struct {
  1204. Text Text `xml:",chardata"`
  1205. GradientUnits Units `xml:"gradientUnits,attr"`
  1206. ID D `xml:"id,attr"`
  1207. X1 float32 `xml:"x1,attr"`
  1208. X2 float32 `xml:"x2,attr"`
  1209. Y1 float32 `xml:"y1,attr"`
  1210. Y2 float32 `xml:"y2,attr"`
  1211. GradientTransform Transform `xml:"gradientTransform,attr"`
  1212. Stop []struct {
  1213. Text Text `xml:",chardata"`
  1214. Offset Offset `xml:"offset,attr"`
  1215. Style Style `xml:"style,attr"`
  1216. ID D `xml:"id,attr"`
  1217. } `xml:"stop"`
  1218. MidPointStop []struct {
  1219. Text Text `xml:",chardata"`
  1220. Offset Offset `xml:"offset,attr"`
  1221. Style Style `xml:"style,attr"`
  1222. } `xml:"midPointStop"`
  1223. } `xml:"linearGradient"`
  1224. Defs struct {
  1225. Text Text `xml:",chardata"`
  1226. ID D `xml:"id,attr"`
  1227. Path struct {
  1228. Text Text `xml:",chardata"`
  1229. D D `xml:"d,attr"`
  1230. ID D `xml:"id,attr"`
  1231. } `xml:"path"`
  1232. LinearGradient []struct {
  1233. Text Text `xml:",chardata"`
  1234. ID D `xml:"id,attr"`
  1235. X1 float32 `xml:"x1,attr"`
  1236. X2 float32 `xml:"x2,attr"`
  1237. Href Href `xml:"href,attr"`
  1238. Y1 float32 `xml:"y1,attr"`
  1239. Y2 float32 `xml:"y2,attr"`
  1240. GradientTransform Transform `xml:"gradientTransform,attr"`
  1241. Stop []struct {
  1242. Text Text `xml:",chardata"`
  1243. ID D `xml:"id,attr"`
  1244. Offset Offset `xml:"offset,attr"`
  1245. Style Style `xml:"style,attr"`
  1246. } `xml:"stop"`
  1247. } `xml:"linearGradient"`
  1248. Defs struct {
  1249. Text Text `xml:",chardata"`
  1250. ID D `xml:"id,attr"`
  1251. } `xml:"defs"`
  1252. Namedview struct {
  1253. Text Text `xml:",chardata"`
  1254. ID D `xml:"id,attr"`
  1255. } `xml:"namedview"`
  1256. RadialGradient []struct {
  1257. Text Text `xml:",chardata"`
  1258. Cx Cx `xml:"cx,attr"`
  1259. Cy Cy `xml:"cy,attr"`
  1260. Fx Fx `xml:"fx,attr"`
  1261. Fy Fy `xml:"fy,attr"`
  1262. ID D `xml:"id,attr"`
  1263. R R `xml:"r,attr"`
  1264. Href Href `xml:"href,attr"`
  1265. GradientTransform Transform `xml:"gradientTransform,attr"`
  1266. } `xml:"radialGradient"`
  1267. } `xml:"defs"`
  1268. ClipPath struct {
  1269. Text Text `xml:",chardata"`
  1270. ID D `xml:"id,attr"`
  1271. Use struct {
  1272. Text Text `xml:",chardata"`
  1273. ID D `xml:"id,attr"`
  1274. Href Href `xml:"href,attr"`
  1275. } `xml:"use"`
  1276. } `xml:"clipPath"`
  1277. Use []struct {
  1278. Text Text `xml:",chardata"`
  1279. Height float32 `xml:"height,attr"`
  1280. ID D `xml:"id,attr"`
  1281. Transform Transform `xml:"transform,attr"`
  1282. Width float32 `xml:"width,attr"`
  1283. X float32 `xml:"x,attr"`
  1284. Href Href `xml:"href,attr"`
  1285. Y float32 `xml:"y,attr"`
  1286. } `xml:"use"`
  1287. Desc Desc `xml:"desc"` // Drawing, Drawing, Group
  1288. Namedview struct {
  1289. Text Text `xml:",chardata"`
  1290. Bordercolor Bordercolor `xml:"bordercolor,attr"`
  1291. Borderlayer Borderlayer `xml:"borderlayer,attr"`
  1292. Borderopacity Borderopacity `xml:"borderopacity,attr"`
  1293. ID D `xml:"id,attr"`
  1294. Showgrid Showgrid `xml:"showgrid,attr"`
  1295. } `xml:"namedview"`
  1296. Ellipse []struct {
  1297. Text Text `xml:",chardata"`
  1298. Cx Cx `xml:"cx,attr"`
  1299. Cy Cy `xml:"cy,attr"`
  1300. ID D `xml:"id,attr"`
  1301. Rx Rx `xml:"rx,attr"`
  1302. Ry Ry `xml:"ry,attr"`
  1303. Style Style `xml:"style,attr"`
  1304. Transform Transform `xml:"transform,attr"`
  1305. } `xml:"ellipse"`
  1306. Polygon []struct {
  1307. Text Text `xml:",chardata"`
  1308. ID D `xml:"id,attr"`
  1309. Points Points `xml:"points,attr"`
  1310. Arg1 Arg1 `xml:"arg1,attr"`
  1311. Arg2 Arg2 `xml:"arg2,attr"`
  1312. Cx Cx `xml:"cx,attr"`
  1313. Cy Cy `xml:"cy,attr"`
  1314. R1 R1 `xml:"r1,attr"`
  1315. R2 R2 `xml:"r2,attr"`
  1316. Sides Sides `xml:"sides,attr"`
  1317. Type Type `xml:"type,attr"`
  1318. Style Style `xml:"style,attr"`
  1319. Transform Transform `xml:"transform,attr"`
  1320. } `xml:"polygon"`
  1321. } `xml:"g"`
  1322. Path []struct {
  1323. Text Text `xml:",chardata"`
  1324. D D `xml:"d,attr"`
  1325. ID D `xml:"id,attr"`
  1326. Style Style `xml:"style,attr"`
  1327. Transform Transform `xml:"transform,attr"`
  1328. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  1329. Class Class `xml:"class,attr"`
  1330. Cx Cx `xml:"cx,attr"`
  1331. Cy Cy `xml:"cy,attr"`
  1332. Rx Rx `xml:"rx,attr"`
  1333. Ry Ry `xml:"ry,attr"`
  1334. Type Type `xml:"type,attr"`
  1335. Fill Fill `xml:"fill,attr"`
  1336. Knockout Knockout `xml:"knockout,attr"`
  1337. TileCx Cx `xml:"tile-cx,attr"`
  1338. TileCy Cy `xml:"tile-cy,attr"`
  1339. TileH H `xml:"tile-h,attr"`
  1340. TileW W `xml:"tile-w,attr"`
  1341. ClipRule Rule `xml:"clip-rule,attr"`
  1342. FillRule Rule `xml:"fill-rule,attr"`
  1343. Stroke Stroke `xml:"stroke,attr"`
  1344. StrokeWidth float32 `xml:"stroke-width,attr"`
  1345. EnableBackground Background `xml:"enable-background,attr"`
  1346. Isolated Isolated `xml:"isolated,attr"`
  1347. Opacity Opacity `xml:"opacity,attr"`
  1348. ExportXdpi Xdpi `xml:"export-xdpi,attr"`
  1349. ExportYdpi Ydpi `xml:"export-ydpi,attr"`
  1350. End End `xml:"end,attr"`
  1351. Open Open `xml:"open,attr"`
  1352. Start Start `xml:"start,attr"`
  1353. StrokeMiterlimit Miterlimit `xml:"stroke-miterlimit,attr"`
  1354. Flatsided Flatsided `xml:"flatsided,attr"`
  1355. Label Label `xml:"label,attr"`
  1356. Randomized Randomized `xml:"randomized,attr"`
  1357. Rounded Rounded `xml:"rounded,attr"`
  1358. Arg1 Arg1 `xml:"arg1,attr"`
  1359. Arg2 Arg2 `xml:"arg2,attr"`
  1360. R1 R1 `xml:"r1,attr"`
  1361. R2 R2 `xml:"r2,attr"`
  1362. Sides Sides `xml:"sides,attr"`
  1363. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  1364. } `xml:"path"`
  1365. Circle []struct {
  1366. Text Text `xml:",chardata"`
  1367. Class Class `xml:"class,attr"`
  1368. Cx Cx `xml:"cx,attr"`
  1369. Cy Cy `xml:"cy,attr"`
  1370. ID D `xml:"id,attr"`
  1371. R R `xml:"r,attr"`
  1372. Rx Rx `xml:"rx,attr"`
  1373. Ry Ry `xml:"ry,attr"`
  1374. Style Style `xml:"style,attr"`
  1375. Transform Transform `xml:"transform,attr"`
  1376. Fill Fill `xml:"fill,attr"`
  1377. } `xml:"circle"`
  1378. Text []struct {
  1379. Text Text `xml:",chardata"` // Ukraine
  1380. ID D `xml:"id,attr"`
  1381. Style Style `xml:"style,attr"`
  1382. X float32 `xml:"x,attr"`
  1383. Space Space `xml:"space,attr"`
  1384. Y float32 `xml:"y,attr"`
  1385. Linespacing Linespacing `xml:"linespacing,attr"`
  1386. Transform Transform `xml:"transform,attr"`
  1387. Class Class `xml:"class,attr"`
  1388. Tspan []struct {
  1389. Text Text `xml:",chardata"` // LOVE, produced by Math Pr...
  1390. ID D `xml:"id,attr"`
  1391. Role Role `xml:"role,attr"`
  1392. X float32 `xml:"x,attr"`
  1393. Y float32 `xml:"y,attr"`
  1394. Style Style `xml:"style,attr"`
  1395. } `xml:"tspan"`
  1396. } `xml:"text"`
  1397. Ellipse []struct {
  1398. Text Text `xml:",chardata"`
  1399. Cx Cx `xml:"cx,attr"`
  1400. Cy Cy `xml:"cy,attr"`
  1401. ID D `xml:"id,attr"`
  1402. Rx Rx `xml:"rx,attr"`
  1403. Ry Ry `xml:"ry,attr"`
  1404. Style Style `xml:"style,attr"`
  1405. Transform Transform `xml:"transform,attr"`
  1406. } `xml:"ellipse"`
  1407. Image []struct {
  1408. Text Text `xml:",chardata"`
  1409. Height float32 `xml:"height,attr"`
  1410. ID D `xml:"id,attr"`
  1411. Absref Absref `xml:"absref,attr"`
  1412. Width float32 `xml:"width,attr"`
  1413. X float32 `xml:"x,attr"`
  1414. Href Href `xml:"href,attr"`
  1415. Y float32 `xml:"y,attr"`
  1416. Transform Transform `xml:"transform,attr"`
  1417. Style Style `xml:"style,attr"`
  1418. } `xml:"image"`
  1419. Line []struct {
  1420. Text Text `xml:",chardata"`
  1421. ID D `xml:"id,attr"`
  1422. Style Style `xml:"style,attr"`
  1423. X1 float32 `xml:"x1,attr"`
  1424. X2 float32 `xml:"x2,attr"`
  1425. Y1 float32 `xml:"y1,attr"`
  1426. Y2 float32 `xml:"y2,attr"`
  1427. } `xml:"line"`
  1428. Defs struct {
  1429. Text Text `xml:",chardata"`
  1430. ID D `xml:"id,attr"`
  1431. LinearGradient []struct {
  1432. Text Text `xml:",chardata"`
  1433. ID D `xml:"id,attr"`
  1434. X1 float32 `xml:"x1,attr"`
  1435. X2 float32 `xml:"x2,attr"`
  1436. Href Href `xml:"href,attr"`
  1437. Y1 float32 `xml:"y1,attr"`
  1438. Y2 float32 `xml:"y2,attr"`
  1439. GradientTransform Transform `xml:"gradientTransform,attr"`
  1440. Stop []struct {
  1441. Text Text `xml:",chardata"`
  1442. ID D `xml:"id,attr"`
  1443. Offset Offset `xml:"offset,attr"`
  1444. Style Style `xml:"style,attr"`
  1445. } `xml:"stop"`
  1446. } `xml:"linearGradient"`
  1447. Defs struct {
  1448. Text Text `xml:",chardata"`
  1449. ID D `xml:"id,attr"`
  1450. } `xml:"defs"`
  1451. RadialGradient []struct {
  1452. Text Text `xml:",chardata"`
  1453. Cx Cx `xml:"cx,attr"`
  1454. Cy Cy `xml:"cy,attr"`
  1455. Fx Fx `xml:"fx,attr"`
  1456. Fy Fy `xml:"fy,attr"`
  1457. ID D `xml:"id,attr"`
  1458. R R `xml:"r,attr"`
  1459. Href Href `xml:"href,attr"`
  1460. GradientTransform Transform `xml:"gradientTransform,attr"`
  1461. } `xml:"radialGradient"`
  1462. } `xml:"defs"`
  1463. Use []struct {
  1464. Text Text `xml:",chardata"`
  1465. Height float32 `xml:"height,attr"`
  1466. ID D `xml:"id,attr"`
  1467. TiledCloneOf Of `xml:"tiled-clone-of,attr"`
  1468. Transform Transform `xml:"transform,attr"`
  1469. Width float32 `xml:"width,attr"`
  1470. X float32 `xml:"x,attr"`
  1471. Href Href `xml:"href,attr"`
  1472. Y float32 `xml:"y,attr"`
  1473. } `xml:"use"`
  1474. LinearGradient []struct {
  1475. Text Text `xml:",chardata"`
  1476. GradientUnits Units `xml:"gradientUnits,attr"`
  1477. ID D `xml:"id,attr"`
  1478. X1 float32 `xml:"x1,attr"`
  1479. X2 float32 `xml:"x2,attr"`
  1480. Y1 float32 `xml:"y1,attr"`
  1481. Y2 float32 `xml:"y2,attr"`
  1482. GradientTransform Transform `xml:"gradientTransform,attr"`
  1483. Stop []struct {
  1484. Text Text `xml:",chardata"`
  1485. Offset Offset `xml:"offset,attr"`
  1486. Style Style `xml:"style,attr"`
  1487. ID D `xml:"id,attr"`
  1488. } `xml:"stop"`
  1489. MidPointStop []struct {
  1490. Text Text `xml:",chardata"`
  1491. Offset Offset `xml:"offset,attr"`
  1492. Style Style `xml:"style,attr"`
  1493. } `xml:"midPointStop"`
  1494. } `xml:"linearGradient"`
  1495. Desc Desc `xml:"desc"` // Master slide, Slide
  1496. Title struct {
  1497. Text Text `xml:",chardata"` // Vertical Tricolor: black,...
  1498. ID D `xml:"id,attr"`
  1499. } `xml:"title"`
  1500. Polygon []struct {
  1501. Text Text `xml:",chardata"`
  1502. ID D `xml:"id,attr"`
  1503. Points Points `xml:"points,attr"`
  1504. Style Style `xml:"style,attr"`
  1505. Arg1 Arg1 `xml:"arg1,attr"`
  1506. Arg2 Arg2 `xml:"arg2,attr"`
  1507. Cx Cx `xml:"cx,attr"`
  1508. Cy Cy `xml:"cy,attr"`
  1509. R1 R1 `xml:"r1,attr"`
  1510. R2 R2 `xml:"r2,attr"`
  1511. Sides Sides `xml:"sides,attr"`
  1512. Type Type `xml:"type,attr"`
  1513. Transform Transform `xml:"transform,attr"`
  1514. } `xml:"polygon"`
  1515. Namedview struct {
  1516. Text Text `xml:",chardata"`
  1517. ID D `xml:"id,attr"`
  1518. } `xml:"namedview"`
  1519. FlowRoot struct {
  1520. Text Text `xml:",chardata"`
  1521. ID D `xml:"id,attr"`
  1522. Space Space `xml:"space,attr"`
  1523. Style Style `xml:"style,attr"`
  1524. Transform Transform `xml:"transform,attr"`
  1525. FlowRegion struct {
  1526. Text Text `xml:",chardata"`
  1527. ID D `xml:"id,attr"`
  1528. Rect struct {
  1529. Text Text `xml:",chardata"`
  1530. Height float32 `xml:"height,attr"`
  1531. ID D `xml:"id,attr"`
  1532. Style Style `xml:"style,attr"`
  1533. Width float32 `xml:"width,attr"`
  1534. X float32 `xml:"x,attr"`
  1535. Y float32 `xml:"y,attr"`
  1536. } `xml:"rect"`
  1537. } `xml:"flowRegion"`
  1538. FlowPara []struct {
  1539. Text Text `xml:",chardata"` // Felipe Maciel, ffmaciel@g...
  1540. ID D `xml:"id,attr"`
  1541. } `xml:"flowPara"`
  1542. } `xml:"flowRoot"`
  1543. } `xml:"g"`
  1544. Symbol struct {
  1545. Text Text `xml:",chardata"`
  1546. ID D `xml:"id,attr"`
  1547. ViewBox Box `xml:"viewBox,attr"`
  1548. Path struct {
  1549. Text Text `xml:",chardata"`
  1550. Class Class `xml:"class,attr"`
  1551. D D `xml:"d,attr"`
  1552. ID D `xml:"id,attr"`
  1553. } `xml:"path"`
  1554. } `xml:"symbol"`
  1555. Path []struct {
  1556. Text Text `xml:",chardata"`
  1557. D D `xml:"d,attr"`
  1558. ID D `xml:"id,attr"`
  1559. Style Style `xml:"style,attr"`
  1560. Nodetypes Nodetypes `xml:"nodetypes,attr"`
  1561. Transform Transform `xml:"transform,attr"`
  1562. Cx Cx `xml:"cx,attr"`
  1563. Cy Cy `xml:"cy,attr"`
  1564. Rx Rx `xml:"rx,attr"`
  1565. Ry Ry `xml:"ry,attr"`
  1566. Type Type `xml:"type,attr"`
  1567. Flatsided Flatsided `xml:"flatsided,attr"`
  1568. Rounded Rounded `xml:"rounded,attr"`
  1569. Arg1 Arg1 `xml:"arg1,attr"`
  1570. Arg2 Arg2 `xml:"arg2,attr"`
  1571. R1 R1 `xml:"r1,attr"`
  1572. R2 R2 `xml:"r2,attr"`
  1573. Sides Sides `xml:"sides,attr"`
  1574. Fill Fill `xml:"fill,attr"`
  1575. Stroke Stroke `xml:"stroke,attr"`
  1576. StrokeWidth float32 `xml:"stroke-width,attr"`
  1577. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  1578. End End `xml:"end,attr"`
  1579. Start Start `xml:"start,attr"`
  1580. Argument Argument `xml:"argument,attr"`
  1581. Expansion Expansion `xml:"expansion,attr"`
  1582. Radius Radius `xml:"radius,attr"`
  1583. Revolution Revolution `xml:"revolution,attr"`
  1584. T0 T0 `xml:"t0,attr"`
  1585. Class Class `xml:"class,attr"`
  1586. } `xml:"path"`
  1587. Rect []struct {
  1588. Text Text `xml:",chardata"`
  1589. Height float32 `xml:"height,attr"`
  1590. ID D `xml:"id,attr"`
  1591. Rx Rx `xml:"rx,attr"`
  1592. Ry Ry `xml:"ry,attr"`
  1593. Style Style `xml:"style,attr"`
  1594. Transform Transform `xml:"transform,attr"`
  1595. Width float32 `xml:"width,attr"`
  1596. X float32 `xml:"x,attr"`
  1597. Y float32 `xml:"y,attr"`
  1598. Fill Fill `xml:"fill,attr"`
  1599. Stroke Stroke `xml:"stroke,attr"`
  1600. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  1601. Insensitive Insensitive `xml:"insensitive,attr"`
  1602. } `xml:"rect"`
  1603. Title struct {
  1604. Text Text `xml:",chardata"` // EAN-13 Bar Code, Iraqi fl...
  1605. ID D `xml:"id,attr"`
  1606. } `xml:"title"`
  1607. Desc struct {
  1608. Text Text `xml:",chardata"` // A Bar Code: EAN-13., The ...
  1609. ID D `xml:"id,attr"`
  1610. } `xml:"desc"`
  1611. Text []struct {
  1612. Text Text `xml:",chardata"` // PACE, Moscow, Stockholm, ...
  1613. ID D `xml:"id,attr"`
  1614. Style Style `xml:"style,attr"`
  1615. X float32 `xml:"x,attr"`
  1616. Space Space `xml:"space,attr"`
  1617. Y float32 `xml:"y,attr"`
  1618. Linespacing Linespacing `xml:"linespacing,attr"`
  1619. Transform Transform `xml:"transform,attr"`
  1620. Fill Fill `xml:"fill,attr"`
  1621. FontFamily Family `xml:"font-family,attr"`
  1622. FontSize Size `xml:"font-size,attr"`
  1623. FontWeight Weight `xml:"font-weight,attr"`
  1624. TextAnchor Anchor `xml:"text-anchor,attr"`
  1625. Class Class `xml:"class,attr"`
  1626. Tspan []struct {
  1627. Text Text `xml:",chardata"` // FOR SALE, 858-361-2811, $...
  1628. ID D `xml:"id,attr"`
  1629. Role Role `xml:"role,attr"`
  1630. X float32 `xml:"x,attr"`
  1631. Y float32 `xml:"y,attr"`
  1632. Style Style `xml:"style,attr"`
  1633. } `xml:"tspan"`
  1634. } `xml:"text"`
  1635. Style struct {
  1636. Text Text `xml:",chardata"` // @font-face{font-family:'L...
  1637. Type Type `xml:"type,attr"`
  1638. ID D `xml:"id,attr"`
  1639. } `xml:"style"`
  1640. Switch struct {
  1641. Text Text `xml:",chardata"`
  1642. ID D `xml:"id,attr"`
  1643. ForeignObject struct {
  1644. Text Text `xml:",chardata"`
  1645. Height float32 `xml:"height,attr"`
  1646. RequiredExtensions Extensions `xml:"requiredExtensions,attr"`
  1647. Width float32 `xml:"width,attr"`
  1648. X float32 `xml:"x,attr"`
  1649. Y float32 `xml:"y,attr"`
  1650. ID D `xml:"id,attr"`
  1651. PgfRef struct {
  1652. Text Text `xml:",chardata"`
  1653. Href Href `xml:"href,attr"`
  1654. ID D `xml:"id,attr"`
  1655. } `xml:"pgfRef"`
  1656. } `xml:"foreignObject"`
  1657. G struct {
  1658. Text Text `xml:",chardata"`
  1659. Extraneous Extraneous `xml:"extraneous,attr"`
  1660. ID D `xml:"id,attr"`
  1661. G struct {
  1662. Text Text `xml:",chardata"`
  1663. DimmedPercent Percent `xml:"dimmedPercent,attr"`
  1664. Layer Layer `xml:"layer,attr"`
  1665. RgbTrio Trio `xml:"rgbTrio,attr"`
  1666. ID D `xml:"id,attr"`
  1667. G []struct {
  1668. Text Text `xml:",chardata"`
  1669. ID D `xml:"id,attr"`
  1670. G []struct {
  1671. Text Text `xml:",chardata"`
  1672. Knockout Knockout `xml:"knockout,attr"`
  1673. ID D `xml:"id,attr"`
  1674. G []struct {
  1675. Text Text `xml:",chardata"`
  1676. ID D `xml:"id,attr"`
  1677. Path []struct {
  1678. Text Text `xml:",chardata"`
  1679. D D `xml:"d,attr"`
  1680. Fill Fill `xml:"fill,attr"`
  1681. Knockout Knockout `xml:"knockout,attr"`
  1682. } `xml:"path"`
  1683. Polygon struct {
  1684. Text Text `xml:",chardata"`
  1685. Fill Fill `xml:"fill,attr"`
  1686. ID D `xml:"id,attr"`
  1687. Points Points `xml:"points,attr"`
  1688. } `xml:"polygon"`
  1689. } `xml:"g"`
  1690. Polygon struct {
  1691. Text Text `xml:",chardata"`
  1692. Fill Fill `xml:"fill,attr"`
  1693. Knockout Knockout `xml:"knockout,attr"`
  1694. ID D `xml:"id,attr"`
  1695. Points Points `xml:"points,attr"`
  1696. Stroke Stroke `xml:"stroke,attr"`
  1697. StrokeWidth float32 `xml:"stroke-width,attr"`
  1698. } `xml:"polygon"`
  1699. } `xml:"g"`
  1700. Path []struct {
  1701. Text Text `xml:",chardata"`
  1702. ClipRule Rule `xml:"clip-rule,attr"`
  1703. D D `xml:"d,attr"`
  1704. FillRule Rule `xml:"fill-rule,attr"`
  1705. Knockout Knockout `xml:"knockout,attr"`
  1706. Stroke Stroke `xml:"stroke,attr"`
  1707. StrokeMiterlimit Miterlimit `xml:"stroke-miterlimit,attr"`
  1708. StrokeWidth float32 `xml:"stroke-width,attr"`
  1709. Fill Fill `xml:"fill,attr"`
  1710. ID D `xml:"id,attr"`
  1711. } `xml:"path"`
  1712. Rect []struct {
  1713. Text Text `xml:",chardata"`
  1714. Fill Fill `xml:"fill,attr"`
  1715. Height float32 `xml:"height,attr"`
  1716. Knockout Knockout `xml:"knockout,attr"`
  1717. ID D `xml:"id,attr"`
  1718. Width float32 `xml:"width,attr"`
  1719. X float32 `xml:"x,attr"`
  1720. Y float32 `xml:"y,attr"`
  1721. Stroke Stroke `xml:"stroke,attr"`
  1722. StrokeWidth float32 `xml:"stroke-width,attr"`
  1723. } `xml:"rect"`
  1724. Polygon []struct {
  1725. Text Text `xml:",chardata"`
  1726. Fill Fill `xml:"fill,attr"`
  1727. Knockout Knockout `xml:"knockout,attr"`
  1728. ID D `xml:"id,attr"`
  1729. Points Points `xml:"points,attr"`
  1730. Stroke Stroke `xml:"stroke,attr"`
  1731. StrokeWidth float32 `xml:"stroke-width,attr"`
  1732. } `xml:"polygon"`
  1733. Circle struct {
  1734. Text Text `xml:",chardata"`
  1735. Cx Cx `xml:"cx,attr"`
  1736. Cy Cy `xml:"cy,attr"`
  1737. Fill Fill `xml:"fill,attr"`
  1738. Knockout Knockout `xml:"knockout,attr"`
  1739. R R `xml:"r,attr"`
  1740. Stroke Stroke `xml:"stroke,attr"`
  1741. StrokeWidth float32 `xml:"stroke-width,attr"`
  1742. } `xml:"circle"`
  1743. Switch []struct {
  1744. Text Text `xml:",chardata"`
  1745. ObjectNS S `xml:"objectNS,attr"`
  1746. ObjectType Type `xml:"objectType,attr"`
  1747. ForeignObject struct {
  1748. Text Text `xml:",chardata"`
  1749. Height float32 `xml:"height,attr"`
  1750. Overflow Overflow `xml:"overflow,attr"`
  1751. RequiredExtensions Extensions `xml:"requiredExtensions,attr"`
  1752. Width float32 `xml:"width,attr"`
  1753. X float32 `xml:"x,attr"`
  1754. Y float32 `xml:"y,attr"`
  1755. FlowDef struct {
  1756. Text Text `xml:",chardata"`
  1757. Xmlns Xmlns `xml:"xmlns,attr"`
  1758. Region struct {
  1759. Text Text `xml:",chardata"`
  1760. TextMatrix Matrix `xml:"textMatrix,attr"`
  1761. Path struct {
  1762. Text Text `xml:",chardata"`
  1763. D D `xml:"d,attr"`
  1764. Fill Fill `xml:"fill,attr"`
  1765. Knockout Knockout `xml:"knockout,attr"`
  1766. } `xml:"path"`
  1767. } `xml:"region"`
  1768. Flow struct {
  1769. Text Text `xml:",chardata"`
  1770. FontFamily Family `xml:"font-family,attr"`
  1771. FontSize Size `xml:"font-size,attr"`
  1772. Xmlns Xmlns `xml:"xmlns,attr"`
  1773. P struct {
  1774. Text Text `xml:",chardata"`
  1775. Span struct {
  1776. Text Text `xml:",chardata"` // ORDEM PROGRESSO PROGR...
  1777. Fill Fill `xml:"fill,attr"`
  1778. Stroke Stroke `xml:"stroke,attr"`
  1779. StrokeWidth float32 `xml:"stroke-width,attr"`
  1780. } `xml:"span"`
  1781. } `xml:"p"`
  1782. } `xml:"flow"`
  1783. } `xml:"flowDef"`
  1784. TargetRef struct {
  1785. Text Text `xml:",chardata"`
  1786. Href Href `xml:"href,attr"`
  1787. } `xml:"targetRef"`
  1788. } `xml:"foreignObject"`
  1789. G struct {
  1790. Chardata Chardata `xml:",chardata"`
  1791. Path struct {
  1792. Text Text `xml:",chardata"`
  1793. D D `xml:"d,attr"`
  1794. Fill Fill `xml:"fill,attr"`
  1795. Knockout Knockout `xml:"knockout,attr"`
  1796. } `xml:"path"`
  1797. G struct {
  1798. Chardata Chardata `xml:",chardata"`
  1799. ID D `xml:"id,attr"`
  1800. Text []struct {
  1801. Text Text `xml:",chardata"` // O, R, D, E, M, P, R, O, G...
  1802. Fill Fill `xml:"fill,attr"`
  1803. FontFamily Family `xml:"font-family,attr"`
  1804. FontSize Size `xml:"font-size,attr"`
  1805. Stroke Stroke `xml:"stroke,attr"`
  1806. StrokeWidth float32 `xml:"stroke-width,attr"`
  1807. Transform Transform `xml:"transform,attr"`
  1808. } `xml:"text"`
  1809. } `xml:"g"`
  1810. Line struct {
  1811. Text Text `xml:",chardata"`
  1812. Fill Fill `xml:"fill,attr"`
  1813. Knockout Knockout `xml:"knockout,attr"`
  1814. X1 float32 `xml:"x1,attr"`
  1815. X2 float32 `xml:"x2,attr"`
  1816. Y1 float32 `xml:"y1,attr"`
  1817. Y2 float32 `xml:"y2,attr"`
  1818. } `xml:"line"`
  1819. Text struct {
  1820. Text Text `xml:",chardata"`
  1821. ID D `xml:"id,attr"`
  1822. Transform Transform `xml:"transform,attr"`
  1823. Tspan struct {
  1824. Text Text `xml:",chardata"` // E
  1825. Fill Fill `xml:"fill,attr"`
  1826. FontFamily Family `xml:"font-family,attr"`
  1827. FontSize Size `xml:"font-size,attr"`
  1828. Stroke Stroke `xml:"stroke,attr"`
  1829. StrokeWidth float32 `xml:"stroke-width,attr"`
  1830. X float32 `xml:"x,attr"`
  1831. Y float32 `xml:"y,attr"`
  1832. } `xml:"tspan"`
  1833. } `xml:"text"`
  1834. } `xml:"g"`
  1835. } `xml:"switch"`
  1836. } `xml:"g"`
  1837. Switch []struct {
  1838. Chardata Chardata `xml:",chardata"`
  1839. Knockout Knockout `xml:"knockout,attr"`
  1840. ObjectNS S `xml:"objectNS,attr"`
  1841. ObjectType Type `xml:"objectType,attr"`
  1842. ForeignObject struct {
  1843. Text Text `xml:",chardata"`
  1844. Height float32 `xml:"height,attr"`
  1845. Overflow Overflow `xml:"overflow,attr"`
  1846. RequiredExtensions Extensions `xml:"requiredExtensions,attr"`
  1847. Width float32 `xml:"width,attr"`
  1848. X float32 `xml:"x,attr"`
  1849. Y float32 `xml:"y,attr"`
  1850. FlowDef struct {
  1851. Text Text `xml:",chardata"`
  1852. Xmlns Xmlns `xml:"xmlns,attr"`
  1853. Region struct {
  1854. Text Text `xml:",chardata"`
  1855. Path struct {
  1856. Text Text `xml:",chardata"`
  1857. D D `xml:"d,attr"`
  1858. } `xml:"path"`
  1859. } `xml:"region"`
  1860. Flow struct {
  1861. Text Text `xml:",chardata"`
  1862. FontFamily Family `xml:"font-family,attr"`
  1863. FontSize Size `xml:"font-size,attr"`
  1864. Xmlns Xmlns `xml:"xmlns,attr"`
  1865. P struct {
  1866. Text Text `xml:",chardata"`
  1867. Span Span `xml:"span"` // 9, 12, 6, 3, 9, 12, 6, 3
  1868. } `xml:"p"`
  1869. } `xml:"flow"`
  1870. } `xml:"flowDef"`
  1871. TargetRef struct {
  1872. Text Text `xml:",chardata"`
  1873. Href Href `xml:"href,attr"`
  1874. } `xml:"targetRef"`
  1875. } `xml:"foreignObject"`
  1876. Text struct {
  1877. Text Text `xml:",chardata"`
  1878. ID D `xml:"id,attr"`
  1879. Transform Transform `xml:"transform,attr"`
  1880. Tspan struct {
  1881. Text Text `xml:",chardata"` // 9, 12, 6, 3, 9, 12, 6, 3
  1882. FontFamily Family `xml:"font-family,attr"`
  1883. FontSize Size `xml:"font-size,attr"`
  1884. X float32 `xml:"x,attr"`
  1885. Y float32 `xml:"y,attr"`
  1886. } `xml:"tspan"`
  1887. } `xml:"text"`
  1888. } `xml:"switch"`
  1889. Path []struct {
  1890. Text Text `xml:",chardata"`
  1891. ClipRule Rule `xml:"clip-rule,attr"`
  1892. D D `xml:"d,attr"`
  1893. Fill Fill `xml:"fill,attr"`
  1894. FillRule Rule `xml:"fill-rule,attr"`
  1895. Knockout Knockout `xml:"knockout,attr"`
  1896. Stroke Stroke `xml:"stroke,attr"`
  1897. StrokeMiterlimit Miterlimit `xml:"stroke-miterlimit,attr"`
  1898. StrokeWidth float32 `xml:"stroke-width,attr"`
  1899. ID D `xml:"id,attr"`
  1900. } `xml:"path"`
  1901. LinearGradient []struct {
  1902. Text Text `xml:",chardata"`
  1903. GradientUnits Units `xml:"gradientUnits,attr"`
  1904. ID D `xml:"id,attr"`
  1905. X1 float32 `xml:"x1,attr"`
  1906. X2 float32 `xml:"x2,attr"`
  1907. Y1 float32 `xml:"y1,attr"`
  1908. Y2 float32 `xml:"y2,attr"`
  1909. Stop []struct {
  1910. Text Text `xml:",chardata"`
  1911. Offset Offset `xml:"offset,attr"`
  1912. Style Style `xml:"style,attr"`
  1913. } `xml:"stop"`
  1914. MidPointStop []struct {
  1915. Text Text `xml:",chardata"`
  1916. Offset Offset `xml:"offset,attr"`
  1917. Style Style `xml:"style,attr"`
  1918. } `xml:"midPointStop"`
  1919. } `xml:"linearGradient"`
  1920. RadialGradient []struct {
  1921. Text Text `xml:",chardata"`
  1922. Cx Cx `xml:"cx,attr"`
  1923. Cy Cy `xml:"cy,attr"`
  1924. Fx Fx `xml:"fx,attr"`
  1925. Fy Fy `xml:"fy,attr"`
  1926. GradientUnits Units `xml:"gradientUnits,attr"`
  1927. ID D `xml:"id,attr"`
  1928. R R `xml:"r,attr"`
  1929. Stop []struct {
  1930. Text Text `xml:",chardata"`
  1931. Offset Offset `xml:"offset,attr"`
  1932. Style Style `xml:"style,attr"`
  1933. } `xml:"stop"`
  1934. MidPointStop []struct {
  1935. Text Text `xml:",chardata"`
  1936. Offset Offset `xml:"offset,attr"`
  1937. Style Style `xml:"style,attr"`
  1938. } `xml:"midPointStop"`
  1939. } `xml:"radialGradient"`
  1940. } `xml:"g"`
  1941. } `xml:"g"`
  1942. } `xml:"switch"`
  1943. RadialGradient struct {
  1944. Text Text `xml:",chardata"`
  1945. Cx Cx `xml:"cx,attr"`
  1946. Cy Cy `xml:"cy,attr"`
  1947. GradientUnits Units `xml:"gradientUnits,attr"`
  1948. ID D `xml:"id,attr"`
  1949. R R `xml:"r,attr"`
  1950. Stop []struct {
  1951. Text Text `xml:",chardata"`
  1952. ID D `xml:"id,attr"`
  1953. Offset Offset `xml:"offset,attr"`
  1954. Style Style `xml:"style,attr"`
  1955. } `xml:"stop"`
  1956. } `xml:"radialGradient"`
  1957. Circle []struct {
  1958. Text Text `xml:",chardata"`
  1959. Cx Cx `xml:"cx,attr"`
  1960. Cy Cy `xml:"cy,attr"`
  1961. Fill Fill `xml:"fill,attr"`
  1962. ID D `xml:"id,attr"`
  1963. R R `xml:"r,attr"`
  1964. Class Class `xml:"class,attr"`
  1965. Rx Rx `xml:"rx,attr"`
  1966. Ry Ry `xml:"ry,attr"`
  1967. Style Style `xml:"style,attr"`
  1968. } `xml:"circle"`
  1969. Use []struct {
  1970. Text Text `xml:",chardata"`
  1971. ID D `xml:"id,attr"`
  1972. Transform Transform `xml:"transform,attr"`
  1973. Href Href `xml:"href,attr"`
  1974. Height float32 `xml:"height,attr"`
  1975. Width float32 `xml:"width,attr"`
  1976. X float32 `xml:"x,attr"`
  1977. Y float32 `xml:"y,attr"`
  1978. } `xml:"use"`
  1979. Image struct {
  1980. Text Text `xml:",chardata"`
  1981. Height float32 `xml:"height,attr"`
  1982. ID D `xml:"id,attr"`
  1983. Absref Absref `xml:"absref,attr"`
  1984. Insensitive Insensitive `xml:"insensitive,attr"`
  1985. Style Style `xml:"style,attr"`
  1986. Width float32 `xml:"width,attr"`
  1987. X float32 `xml:"x,attr"`
  1988. Href Href `xml:"href,attr"`
  1989. Y float32 `xml:"y,attr"`
  1990. } `xml:"image"`
  1991. Polygon []struct {
  1992. Text Text `xml:",chardata"`
  1993. ID D `xml:"id,attr"`
  1994. Points Points `xml:"points,attr"`
  1995. Arg1 Arg1 `xml:"arg1,attr"`
  1996. Arg2 Arg2 `xml:"arg2,attr"`
  1997. Cx Cx `xml:"cx,attr"`
  1998. Cy Cy `xml:"cy,attr"`
  1999. R1 R1 `xml:"r1,attr"`
  2000. R2 R2 `xml:"r2,attr"`
  2001. Sides Sides `xml:"sides,attr"`
  2002. Type Type `xml:"type,attr"`
  2003. Style Style `xml:"style,attr"`
  2004. Transform Transform `xml:"transform,attr"`
  2005. Fill Fill `xml:"fill,attr"`
  2006. FillCmyk Cmyk `xml:"fill-cmyk,attr"`
  2007. } `xml:"polygon"`
  2008. Ellipse []struct {
  2009. Text Text `xml:",chardata"`
  2010. Cx Cx `xml:"cx,attr"`
  2011. Cy Cy `xml:"cy,attr"`
  2012. ID D `xml:"id,attr"`
  2013. Rx Rx `xml:"rx,attr"`
  2014. Ry Ry `xml:"ry,attr"`
  2015. Style Style `xml:"style,attr"`
  2016. Stroke Stroke `xml:"stroke,attr"`
  2017. StrokeWidth float32 `xml:"stroke-width,attr"`
  2018. Transform Transform `xml:"transform,attr"`
  2019. } `xml:"ellipse"`
  2020. RDF struct {
  2021. Text Text `xml:",chardata"`
  2022. Xmlns Xmlns `xml:"xmlns,attr"`
  2023. Dc Dc `xml:"dc,attr"`
  2024. Rdf Rdf `xml:"rdf,attr"`
  2025. Work struct {
  2026. Text Text `xml:",chardata"`
  2027. About About `xml:"about,attr"`
  2028. Title Title `xml:"title"` // Kansasflag, Kansasflag
  2029. Description Description `xml:"description"` // state flag, state flag
  2030. Subject struct {
  2031. Text Text `xml:",chardata"`
  2032. Bag struct {
  2033. Text Text `xml:",chardata"`
  2034. Li []string `xml:"li"` // symbol, flag, usa, Kansas...
  2035. } `xml:"Bag"`
  2036. } `xml:"subject"`
  2037. Publisher struct {
  2038. Text Text `xml:",chardata"`
  2039. Agent struct {
  2040. Text Text `xml:",chardata"`
  2041. About About `xml:"about,attr"`
  2042. Title Title `xml:"title"` // Open Clip Art Library, Op...
  2043. } `xml:"Agent"`
  2044. } `xml:"publisher"`
  2045. Creator struct {
  2046. Text Text `xml:",chardata"`
  2047. Agent struct {
  2048. Text Text `xml:",chardata"`
  2049. About About `xml:"about,attr"`
  2050. Title Title `xml:"title"` // Dave Reckoning, Dave Reck...
  2051. } `xml:"Agent"`
  2052. } `xml:"creator"`
  2053. Rights struct {
  2054. Text Text `xml:",chardata"`
  2055. Agent struct {
  2056. Text Text `xml:",chardata"`
  2057. About About `xml:"about,attr"`
  2058. Title Title `xml:"title"`
  2059. } `xml:"Agent"`
  2060. } `xml:"rights"`
  2061. Date Date `xml:"date"`
  2062. Format Format `xml:"format"` // image/svg+xml, image/svg+...
  2063. Type struct {
  2064. Text Text `xml:",chardata"`
  2065. Resource Resource `xml:"resource,attr"`
  2066. } `xml:"type"`
  2067. License struct {
  2068. Text Text `xml:",chardata"`
  2069. Resource Resource `xml:"resource,attr"`
  2070. Date Date `xml:"date"` // 59, 59
  2071. } `xml:"license"`
  2072. Language Language `xml:"language"` // en, en
  2073. } `xml:"Work"`
  2074. License struct {
  2075. Text Text `xml:",chardata"`
  2076. About About `xml:"about,attr"`
  2077. Permits []struct {
  2078. Text Text `xml:",chardata"`
  2079. Resource Resource `xml:"resource,attr"`
  2080. } `xml:"permits"`
  2081. } `xml:"License"`
  2082. } `xml:"RDF"`
  2083. }