Mercurial > MadButterfly
annotate examples/dynamic/scene.svg @ 881:a17c4e231e54 abs_n_rel_center
Transform positions of radient paints.
cx, cy of radial and x1, y1, x2, y2 of linear gradient paints must be
transformed with aggregated matrix of painted shapes. Pattern to user
space transformation maybe used to get more precise color.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 25 Sep 2010 20:12:45 +0800 |
parents | 248a40d51473 |
children |
rev | line source |
---|---|
243 | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 <!-- Created with Inkscape (http://www.inkscape.org/) --> | |
3 <svg | |
4 xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd" | |
5 xmlns:dc="http://purl.org/dc/elements/1.1/" | |
6 xmlns:cc="http://creativecommons.org/ns#" | |
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
8 xmlns:svg="http://www.w3.org/2000/svg" | |
9 xmlns="http://www.w3.org/2000/svg" | |
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
12 width="640px" | |
13 height="480px" | |
14 id="svg2383" | |
15 sodipodi:version="0.32" | |
16 inkscape:version="0.46" | |
17 sodipodi:docname="scene.svg" | |
18 inkscape:output_extension="org.inkscape.output.svg.inkscape"> | |
19 <sodipodi:namedview | |
20 id="base" | |
21 pagecolor="#ffffff" | |
22 bordercolor="#666666" | |
23 borderopacity="1.0" | |
24 inkscape:pageopacity="0.0" | |
25 inkscape:pageshadow="2" | |
26 inkscape:zoom="0.77472527" | |
27 inkscape:cx="132.83688" | |
28 inkscape:cy="240" | |
29 inkscape:current-layer="layer1" | |
30 inkscape:document-units="px" | |
31 showgrid="false" | |
32 inkscape:window-width="1400" | |
33 inkscape:window-height="978" | |
34 inkscape:window-x="0" | |
35 inkscape:window-y="25" /> | |
36 <defs | |
37 id="defs2385"> | |
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 | 45 </defs> |
46 <metadata | |
47 id="metadata2388"> | |
48 <rdf:RDF> | |
49 <cc:Work | |
50 rdf:about=""> | |
51 <dc:format>image/svg+xml</dc:format> | |
52 <dc:type | |
53 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
54 </cc:Work> | |
55 </rdf:RDF> | |
56 <ns0:scenes | |
246
4df1b766bbf5
Fixed the Makefile.am to generate scene.so automatically.
wycc
parents:
243
diff
changeset
|
57 current="3"> |
243 | 58 <ns0:scene |
59 start="1" | |
60 ref="s7737" /> | |
61 <ns0:scene | |
62 start="2" | |
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 | 67 </ns0:scenes> |
68 </metadata> | |
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 | 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 | 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 | 123 </g> |
124 </svg> |