annotate examples/dynamic/scene.svg @ 1381:9a585df24e52

Consider the width and height attribute for the rect elements. The inkscape will change the width and height directly without using transform when we resize the rectangle.
author wycc
date Wed, 23 Mar 2011 23:02:36 +0800
parents 248a40d51473
children
rev   line source
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
3 <svg
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
4 xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
6 xmlns:cc="http://creativecommons.org/ns#"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
8 xmlns:svg="http://www.w3.org/2000/svg"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
9 xmlns="http://www.w3.org/2000/svg"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
12 width="640px"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
13 height="480px"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
14 id="svg2383"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
15 sodipodi:version="0.32"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
16 inkscape:version="0.46"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
17 sodipodi:docname="scene.svg"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
18 inkscape:output_extension="org.inkscape.output.svg.inkscape">
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
19 <sodipodi:namedview
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
20 id="base"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
21 pagecolor="#ffffff"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
22 bordercolor="#666666"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
23 borderopacity="1.0"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
24 inkscape:pageopacity="0.0"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
25 inkscape:pageshadow="2"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
26 inkscape:zoom="0.77472527"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
27 inkscape:cx="132.83688"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
28 inkscape:cy="240"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
29 inkscape:current-layer="layer1"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
30 inkscape:document-units="px"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
31 showgrid="false"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
32 inkscape:window-width="1400"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
33 inkscape:window-height="978"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
34 inkscape:window-x="0"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
35 inkscape:window-y="25" />
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
36 <defs
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
37 id="defs2385">
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
38 <inkscape:perspective
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
39 id="perspective2391"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
40 inkscape:persp3d-origin="320 : 160 : 1"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
41 inkscape:vp_z="640 : 240 : 1"
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
42 inkscape:vp_y="0 : 1000 : 0"
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
43 inkscape:vp_x="0 : 240 : 1"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
44 sodipodi:type="inkscape:persp3d" />
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
45 </defs>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
46 <metadata
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
47 id="metadata2388">
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
48 <rdf:RDF>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
49 <cc:Work
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
50 rdf:about="">
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
51 <dc:format>image/svg+xml</dc:format>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
52 <dc:type
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
53 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
54 </cc:Work>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
55 </rdf:RDF>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
56 <ns0:scenes
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
57 current="3">
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
58 <ns0:scene
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
59 start="1"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
60 ref="s7737" />
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
61 <ns0:scene
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
62 start="2"
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
63 ref="s4405" />
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
64 <ns0:scene
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
65 start="3"
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
66 ref="s4702" />
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
67 </ns0:scenes>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
68 </metadata>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
69 <g
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
70 inkscape:groupmode="layer"
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
71 inkscape:label="Layer 1"
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
72 id="layer1">
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
73 <g
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
74 style="display:none"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
75 opacity="0.5"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
76 id="s7737">
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
77 <text
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
78 xml:space="preserve"
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
79 style="font-size:24px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
80 x="188.4539"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
81 y="189.57446"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
82 id="text2554"><tspan
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
83 sodipodi:role="line"
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
84 id="tspan2556"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
85 x="188.4539"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
86 y="189.57446">This is scene 1</tspan></text>
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
87 <rect
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
88 style="fill:#00d300;fill-opacity:1;stroke:#00d300;stroke-opacity:1"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
89 id="rect2410"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
90 width="233.63121"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
91 height="24.524822"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
92 x="158.76596"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
93 y="131.48936"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
94 rx="4.0216751"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
95 ry="5.0559778" />
246
4df1b766bbf5 Fixed the Makefile.am to generate scene.so automatically.
wycc
parents: 243
diff changeset
96 </g>
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
97 <g
285
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
98 style="display:none"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
99 id="s4405">
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
100 <text
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
101 id="text2576"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
102 y="199.90071"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
103 x="196.19858"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
104 style="font-size:24px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:0.5;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
105 xml:space="preserve"><tspan
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
106 y="199.90071"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
107 x="196.19858"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
108 id="tspan2578"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
109 sodipodi:role="line">This is scene 2aaaaaaaa</tspan></text>
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
110 <rect
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
111 ry="5.0559778"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
112 rx="4.0216751"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
113 y="127.61702"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
114 x="157.47517"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
115 height="24.524822"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
116 width="289.13477"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
117 id="rect2387"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
118 style="fill:#0068d3;fill-opacity:1;stroke:#00d300;stroke-opacity:1" />
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
119 </g>
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
120 <g
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
121 id="s4702"
248a40d51473 Check in test program for sh_text_set_text for debugging. It is not working yet.
wycc
parents: 246
diff changeset
122 style="" />
243
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
123 </g>
6c6b62d342ee Add scene.svg
wycc
parents:
diff changeset
124 </svg>