annotate nodejs/test.svg @ 795:46a4cd4d382b

Remove dependent on system time to gain frame rate Date.now() would read system time. It is ineffeciency in for some implementation. To gain frame rate, we should rely on accuration of setInterval().
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 31 Aug 2010 10:04:15 +0800
parents 99186cce8cdd
children 191d3a5f74c8
rev   line source
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
647
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
3
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
4 <svg
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
5 xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
6 xmlns:dc="http://purl.org/dc/elements/1.1/"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
7 xmlns:cc="http://creativecommons.org/ns#"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
8 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
9 xmlns:svg="http://www.w3.org/2000/svg"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
10 xmlns="http://www.w3.org/2000/svg"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
11 xmlns:xlink="http://www.w3.org/1999/xlink"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
12 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
13 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
14 width="720"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
15 height="480"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
16 id="svg2"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
17 sodipodi:version="0.32"
647
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
18 inkscape:version="0.47+devel r9312"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
19 sodipodi:docname="test.svg"
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
20 version="1.0"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
21 inkscape:output_extension="org.inkscape.output.svg.inkscape">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
22 <sodipodi:namedview
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
23 id="base"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
24 pagecolor="#ffffff"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
25 bordercolor="#666666"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
26 borderopacity="1.0"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
27 gridtolerance="10000"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
28 guidetolerance="10"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
29 objecttolerance="10"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
30 inkscape:pageopacity="0.0"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
31 inkscape:pageshadow="2"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
32 inkscape:zoom="1.0347223"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
33 inkscape:cx="267.0313"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
34 inkscape:cy="228.90269"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
35 inkscape:document-units="px"
737
99186cce8cdd Merge into the head
wycc
parents: 725
diff changeset
36 inkscape:current-layer="layer1"
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
37 showgrid="false"
647
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
38 inkscape:window-width="1347"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
39 inkscape:window-height="894"
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
40 inkscape:window-x="0"
647
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
41 inkscape:window-y="25"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
42 inkscape:window-maximized="0" />
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
43 <defs
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
44 id="defs4">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
45 <linearGradient
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
46 id="linearGradient3183">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
47 <stop
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
48 style="stop-color:#000000;stop-opacity:1;"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
49 offset="0"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
50 id="stop3185" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
51 <stop
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
52 style="stop-color:#505050;stop-opacity:1;"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
53 offset="1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
54 id="stop3187" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
55 </linearGradient>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
56 <inkscape:perspective
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
57 id="perspective10"
725
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
58 inkscape:persp3d-origin="804.3173 : 267.38473 : 1"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
59 inkscape:vp_z="1630.7262 : 376.00761 : 1"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
60 inkscape:vp_y="0 : 619.30892 : 0"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
61 inkscape:vp_x="-22.091594 : 376.00761 : 1"
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
62 sodipodi:type="inkscape:persp3d" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
63 <linearGradient
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
64 inkscape:collect="always"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
65 xlink:href="#linearGradient3183"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
66 id="linearGradient3189"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
67 x1="0"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
68 y1="239.5"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
69 x2="719.99998"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
70 y2="239.5"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
71 gradientUnits="userSpaceOnUse" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
72 </defs>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
73 <metadata
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
74 id="metadata7">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
75 <rdf:RDF>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
76 <cc:Work
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
77 rdf:about="">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
78 <dc:format>image/svg+xml</dc:format>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
79 <dc:type
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
80 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
81 </cc:Work>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
82 </rdf:RDF>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
83 <ns0:scenes
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
84 current="1" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
85 </metadata>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
86 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
87 inkscape:groupmode="layer"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
88 id="layer2"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
89 inkscape:label="Background"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
90 sodipodi:insensitive="true">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
91 <rect
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
92 style="opacity:1;fill:url(#linearGradient3189);fill-opacity:1;stroke:#000000;stroke-width:0.9993065;stroke-opacity:1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
93 id="rect3181"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
94 width="719.00067"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
95 height="480.0007"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
96 x="0.49965325"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
97 y="-0.50034672" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
98 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
99 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
100 id="layer1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
101 inkscape:groupmode="layer"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
102 inkscape:label="Layer 1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
103 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
104 transform="translate(147.14286,-2.85715)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
105 id="item1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
106 mbname="item1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
107 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
108 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
109 id="text2395"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
110 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
111 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
112 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Times New Roman;-inkscape-font-specification:Times New Roman Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
113 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
114 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
115 mbname="item1text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
116 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
117 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
118 id="tspan2397"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
119 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
120 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
121 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
122 transform="translate(146.65319,39.689836)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
123 id="item2"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
124 mbname="item2"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
125 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
126 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
127 id="text2421"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
128 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
129 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
130 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
131 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
132 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
133 mbname="item2text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
134 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
135 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
136 id="tspan2423"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
137 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
138 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
139 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
140 transform="translate(148.3266,82.236798)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
141 id="item3"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
142 mbname="item3"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
143 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
144 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
145 id="item3text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
146 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
147 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
148 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
149 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
150 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
151 mbname="item3text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
152 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
153 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
154 id="tspan2429"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
155 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
156 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
157 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
158 transform="translate(147.83692,124.7838)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
159 id="item4"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
160 mbname="item4"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
161 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
162 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
163 id="item4text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
164 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
165 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
166 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
167 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
168 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
169 mbname="item4text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
170 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
171 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
172 id="tspan2435"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
173 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
174 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
175 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
176 transform="translate(146.30615,167.33077)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
177 id="item5"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
178 mbname="item5"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
179 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
180 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
181 id="item5text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
182 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
183 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
184 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
185 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
186 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
187 mbname="item5text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
188 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
189 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
190 id="tspan2441"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
191 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
192 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
193 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
194 transform="translate(145.81648,209.87776)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
195 id="item6"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
196 mbname="item6"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
197 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
198 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
199 id="item6text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
200 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
201 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
202 style="font-size:24px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
203 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
204 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
205 mbname="item6text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
206 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
207 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
208 id="tspan2447"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
209 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
210 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
211 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
212 transform="translate(147.48989,252.42474)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
213 id="item7"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
214 mbname="item7"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
215 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
216 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
217 id="item7text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
218 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
219 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
220 style="font-size:24px;font-style:oblique;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Oblique;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
221 xml:space="preserve"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
222 sodipodi:linespacing="125%"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
223 mbname="item7text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
224 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
225 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
226 id="tspan2453"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
227 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
228 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
229 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
230 transform="translate(147.00021,294.97172)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
231 id="item8"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
232 mbname="item8"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
233 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
234 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
235 id="item8text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
236 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
237 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
238 style="font-size:24px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
239 xml:space="preserve"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
240 mbname="item8text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
241 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
242 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
243 id="tspan2459"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
244 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
245 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
246 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
247 transform="translate(143.79604,337.5187)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
248 id="item9"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
249 mbname="item9"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
250 style="fill-opacity:1">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
251 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
252 mbname=""
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
253 id="text2407"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
254 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
255 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
256 style="font-size:24px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
257 xml:space="preserve"><tspan
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
258 mbname="item9text"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
259 y="60"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
260 x="157.14285"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
261 id="tspan2409"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
262 sodipodi:role="line">item1</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
263 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
264 <text
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
265 id="text2416"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
266 y="44.383541"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
267 x="24.177626"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
268 style="font-size:24px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
269 xml:space="preserve"><tspan
737
99186cce8cdd Merge into the head
wycc
parents: 725
diff changeset
270 mbname="title"
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
271 y="44.383541"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
272 x="24.177626"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
273 id="tspan2418"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
274 sodipodi:role="line">Menu test</tspan></text>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
275 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
276 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
277 inkscape:groupmode="layer"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
278 id="layer4"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
279 inkscape:label="lightbar">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
280 <g
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
281 mbname="item_lightbar"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
282 transform="matrix(0.9148913,0,0,1,168.41407,93.684101)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
283 id="item_lightbar"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
284 style="stroke:none">
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
285 <rect
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
286 style="opacity:0.3669725;fill:#001f41;fill-opacity:1;stroke:none;stroke-width:0.99680871;stroke-opacity:1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
287 id="rect3191"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
288 width="442.8623"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
289 height="29.190758"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
290 x="0.19951171"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
291 y="31.140766"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
292 transform="matrix(0.9999958,-2.895334e-3,0,1,0,0)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
293 rx="10.000001"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
294 ry="10" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
295 <rect
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
296 style="opacity:0.3669725;fill:#eafbf3;fill-opacity:1;stroke:none;stroke-width:0.99680871;stroke-opacity:1"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
297 id="rect2405"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
298 width="442.86224"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
299 height="29.190758"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
300 x="-4.099226"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
301 y="27.920256"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
302 transform="matrix(0.9999958,-2.8953343e-3,0,1,0,0)"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
303 rx="10"
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
304 ry="10" />
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
305 </g>
647
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
306 <image
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
307 y="78.788635"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
308 x="34.986565"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
309 id="image3033"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
310 xlink:href="file:logo.png"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
311 height="37"
492da72e6537 Add image tag support.
wycc
parents: 624
diff changeset
312 width="46" />
725
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
313 <g
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
314 sodipodi:type="inkscape:box3d"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
315 style="fill:none;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
316 id="g2953"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
317 inkscape:perspectiveID="#perspective10"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
318 inkscape:corner0="11.418244 : -1.091331 : 0 : 1"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
319 inkscape:corner7="6.2635014 : -2.542367 : 0.25 : 1">
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
320 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
321 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
322 id="path2963"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
323 style="fill:#afafde;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
324 inkscape:box3dsidetype="13"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
325 d="M 44.456373,239.52954 91.68396,335.71719 142.89318,328.00691 75.760432,236.8548 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
326 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
327 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
328 id="path2955"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
329 style="fill:#353564;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
330 inkscape:box3dsidetype="6"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
331 d="m 44.456373,167.16508 0,72.36446 31.304059,-2.67474 0,-70.93639 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
332 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
333 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
334 id="path2965"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
335 style="fill:#e9e9ff;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
336 inkscape:box3dsidetype="11"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
337 d="m 75.760432,165.91841 67.132748,42.48521 0,119.60329 -67.132748,-91.15211 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
338 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
339 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
340 id="path2957"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
341 style="fill:#4d4d9f;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
342 inkscape:box3dsidetype="5"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
343 d="m 44.456373,167.16508 47.227587,44.83223 51.20922,-3.59369 -67.132748,-42.48521 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
344 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
345 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
346 id="path2961"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
347 style="fill:#d7d7ff;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
348 inkscape:box3dsidetype="14"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
349 d="m 91.68396,211.99731 0,123.71988 51.20922,-7.71028 0,-119.60329 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
350 <path
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
351 sodipodi:type="inkscape:box3dside"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
352 id="path2959"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
353 style="fill:#8686bf;fill-rule:evenodd;stroke:none"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
354 inkscape:box3dsidetype="3"
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
355 d="m 44.456373,167.16508 47.227587,44.83223 0,123.71988 -47.227587,-96.18765 z" />
cb50ce5912ac Merge from the thinker's head
wycc
parents: 647
diff changeset
356 </g>
624
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
357 </g>
d45c928f6523 Add SVG parser sample code.
wycc
parents:
diff changeset
358 </svg>