Mercurial > MadButterfly
annotate pyink/primitive_test.svg @ 1535:9aff42a7e2b9 tip
Fix issue of add/remove a frame at a scene before all key frames of a layer.
When you added or removed a frame at a scene before all key frames of
a layer, frameline was not updated correctly. It seems nothing
happened, but domview is updated. This changeset fix this issue by
correcting logic for boundary case.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Fri, 30 Sep 2011 22:07:28 +0800 |
parents | 96a7abce774a |
children |
rev | line source |
---|---|
1137 | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 <!-- Created with Inkscape (http://www.inkscape.org/) --> | |
3 | |
4 <svg | |
5 xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd" | |
6 xmlns:dc="http://purl.org/dc/elements/1.1/" | |
7 xmlns:cc="http://creativecommons.org/ns#" | |
8 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
9 xmlns:svg="http://www.w3.org/2000/svg" | |
10 xmlns="http://www.w3.org/2000/svg" | |
11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
1146
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
13 width="744.09448" |
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
14 height="1052.3622" |
1137 | 15 id="svg2" |
16 version="1.1" | |
1146
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
17 inkscape:version="0.48+devel r9776" |
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
18 sodipodi:docname="primitive_test.svg" |
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
19 style="display:inline"> |
1137 | 20 <defs |
21 id="defs4" /> | |
22 <sodipodi:namedview | |
23 id="base" | |
24 pagecolor="#ffffff" | |
25 bordercolor="#666666" | |
26 borderopacity="1.0" | |
27 inkscape:pageopacity="0.0" | |
28 inkscape:pageshadow="2" | |
1157
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
29 inkscape:zoom="0.7" |
1162 | 30 inkscape:cx="174.98236" |
1157
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
31 inkscape:cy="910.80426" |
1137 | 32 inkscape:document-units="px" |
1174 | 33 inkscape:current-layer="icon3s9194" |
1137 | 34 showgrid="false" |
1174 | 35 inkscape:window-width="1222" |
1162 | 36 inkscape:window-height="639" |
1174 | 37 inkscape:window-x="199" |
38 inkscape:window-y="151" | |
1162 | 39 inkscape:window-maximized="0" /> |
1137 | 40 <metadata |
41 id="metadata7"> | |
42 <rdf:RDF> | |
43 <cc:Work | |
44 rdf:about=""> | |
45 <dc:format>image/svg+xml</dc:format> | |
46 <dc:type | |
47 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
48 <dc:title /> | |
49 </cc:Work> | |
50 </rdf:RDF> | |
51 <ns0:scenes> | |
52 <ns0:scene | |
53 start="1" | |
1162 | 54 end="5" |
55 ref="icon3s1983" | |
56 type="scale" /> | |
57 <ns0:scene | |
58 start="6" | |
59 end="15" | |
60 ref="icon3s9667" | |
1163 | 61 type="scale" /> |
1162 | 62 <ns0:scene |
63 start="16" | |
1168 | 64 end="21" |
1162 | 65 ref="icon3s9194" |
66 type="normal" /> | |
67 <ns0:scene | |
68 start="1" | |
1168 | 69 end="9" |
1162 | 70 ref="icon2s5149" |
71 type="normal" /> | |
72 <ns0:scene | |
1168 | 73 start="10" |
74 end="20" | |
75 ref="icon2s7055" | |
76 type="scale" /> | |
77 <ns0:scene | |
78 start="21" | |
79 ref="icon2s8465" | |
80 type="normal" /> | |
81 <ns0:scene | |
1162 | 82 start="1" |
83 end="10" | |
84 ref="icon1s6535" | |
85 type="scale" /> | |
86 <ns0:scene | |
87 start="11" | |
88 end="20" | |
89 ref="icon1s5911" | |
1163 | 90 type="scale" /> |
1162 | 91 <ns0:scene |
92 start="21" | |
93 ref="icon1s3" | |
94 type="normal" /> | |
95 <ns0:scene | |
96 start="1" | |
97 end="8" | |
1137 | 98 ref="Layer 1s1983" |
1157
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
99 type="scale" /> |
1137 | 100 </ns0:scenes> |
101 </metadata> | |
102 <g | |
103 inkscape:label="Layer 1" | |
104 inkscape:groupmode="layer" | |
1146
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
105 id="layer1" |
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
106 style="display:inline"> |
1137 | 107 <g |
108 id="Layer 1s1983" | |
109 inkscape:groupmode="layer" | |
110 style="display:none"> | |
1157
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
111 <rect |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
112 style="fill:#808000;fill-opacity:1" |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
113 id="rect3098" |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
114 width="57.142857" |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
115 height="61.42857" |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
116 x="21.428572" |
3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
wycc
parents:
1146
diff
changeset
|
117 y="153.79076" /> |
1137 | 118 </g> |
119 <g | |
1162 | 120 inkscape:label="dup" |
121 sodipodi:insensitive="1" | |
1174 | 122 style="display:none" |
123 id="g3178" /> | |
1162 | 124 </g> |
125 <g | |
126 inkscape:groupmode="layer" | |
127 id="layer2" | |
128 inkscape:label="icon1"> | |
129 <g | |
130 id="icon1s6535" | |
131 inkscape:groupmode="layer" | |
132 style="display:none"> | |
133 <path | |
134 sodipodi:type="arc" | |
135 style="fill:#999999;fill-opacity:1" | |
136 id="path3105" | |
137 sodipodi:cx="73.571426" | |
138 sodipodi:cy="46.647896" | |
139 sodipodi:rx="29.285715" | |
140 sodipodi:ry="28.571428" | |
141 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" /> | |
142 </g> | |
143 <g | |
144 style="display:none" | |
1137 | 145 inkscape:groupmode="layer" |
1162 | 146 id="icon1s5911" |
147 ns0:duplicate-src="icon1s6535"> | |
148 <path | |
149 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" | |
150 sodipodi:ry="28.571428" | |
151 sodipodi:rx="29.285715" | |
152 sodipodi:cy="46.647896" | |
153 sodipodi:cx="73.571426" | |
154 id="path3112" | |
155 style="fill:#999999;fill-opacity:1" | |
156 sodipodi:type="arc" | |
157 ns0:duplicate-src="path3105" | |
158 transform="translate(0,85.714286)" /> | |
159 </g> | |
160 <g | |
161 ns0:duplicate-src="icon1s5911" | |
162 id="icon1s3" | |
163 inkscape:groupmode="layer" | |
164 style="display: none"> | |
165 <path | |
166 transform="translate(0,85.714286)" | |
167 ns0:duplicate-src="path3112" | |
168 sodipodi:type="arc" | |
169 style="fill:#999999;fill-opacity:1" | |
170 id="path3270" | |
171 sodipodi:cx="73.571426" | |
172 sodipodi:cy="46.647896" | |
173 sodipodi:rx="29.285715" | |
174 sodipodi:ry="28.571428" | |
175 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" /> | |
176 </g> | |
177 <g | |
178 inkscape:label="dup" | |
179 sodipodi:insensitive="1" | |
180 style="" | |
1174 | 181 id="g3172"> |
1162 | 182 <g |
1174 | 183 ref="path3112" |
184 id="g3174" | |
185 transform="matrix(1,0,0,1,0,0)"> | |
1162 | 186 <path |
1174 | 187 transform="translate(0,85.714286)" |
188 ns0:duplicate-src="path3105" | |
189 sodipodi:type="arc" | |
190 style="fill:#999999;fill-opacity:1" | |
191 id="path3176" | |
192 sodipodi:cx="73.571426" | |
1168 | 193 sodipodi:cy="46.647896" |
1174 | 194 sodipodi:rx="29.285715" |
195 sodipodi:ry="28.571428" | |
196 d="m 102.85714,46.647896 c 0,15.779564 -13.11166,28.571428 -29.285714,28.571428 -16.174053,0 -29.285715,-12.791864 -29.285715,-28.571428 0,-15.779564 13.111662,-28.571428 29.285715,-28.571428 16.174054,0 29.285714,12.791864 29.285714,28.571428 z" /> | |
1162 | 197 </g> |
198 </g> | |
199 </g> | |
200 <g | |
201 inkscape:groupmode="layer" | |
202 id="layer3" | |
1168 | 203 inkscape:label="icon2" |
204 style="display:inline"> | |
1162 | 205 <g |
206 id="icon2s5149" | |
207 inkscape:groupmode="layer" | |
1163 | 208 style="display:none"> |
1162 | 209 <path |
1168 | 210 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" |
211 sodipodi:ry="28.571428" | |
212 sodipodi:rx="29.285715" | |
213 sodipodi:cy="46.647896" | |
214 sodipodi:cx="73.571426" | |
215 id="path5059" | |
216 style="fill:#999999;fill-opacity:1;display:inline" | |
217 sodipodi:type="arc" | |
218 transform="translate(86.428574,1.4285721)" /> | |
219 </g> | |
220 <g | |
221 id="icon2s7055" | |
222 inkscape:groupmode="layer" | |
223 style="display:none"> | |
224 <path | |
1162 | 225 transform="translate(86.428574,1.4285721)" |
226 sodipodi:type="arc" | |
227 style="fill:#999999;fill-opacity:1;display:inline" | |
228 id="path3105-1" | |
229 sodipodi:cx="73.571426" | |
230 sodipodi:cy="46.647896" | |
231 sodipodi:rx="29.285715" | |
232 sodipodi:ry="28.571428" | |
233 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" /> | |
1146
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
234 </g> |
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
235 <g |
1168 | 236 style="display: none" |
237 inkscape:groupmode="layer" | |
238 id="icon2s8465" | |
239 ns0:duplicate-src="icon2s5149"> | |
240 <path | |
241 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" | |
242 sodipodi:ry="28.571428" | |
243 sodipodi:rx="29.285715" | |
244 sodipodi:cy="46.647896" | |
245 sodipodi:cx="73.571426" | |
246 id="path3867" | |
247 style="fill:#999999;fill-opacity:1;display:inline" | |
248 sodipodi:type="arc" | |
249 transform="translate(87.857145,91.428572)" | |
250 ns0:duplicate-src="path3105-1" /> | |
251 </g> | |
252 <g | |
1146
e14ec6d1a661
CHange the implementation to set the transformation matrix only. This is be more friendly for the animation inside the inskcape.
wycc
parents:
1140
diff
changeset
|
253 inkscape:label="dup" |
1174 | 254 sodipodi:insensitive="1" |
255 style="" | |
256 id="g3166"> | |
1168 | 257 <g |
1174 | 258 ref="path3105-1" |
259 id="g3168" | |
260 transform="matrix(1,0,0,1,0.779221,49.0909)"> | |
1168 | 261 <path |
1174 | 262 d="m 102.85714,46.647896 c 0,15.779564 -13.11166,28.571428 -29.285714,28.571428 -16.174053,0 -29.285715,-12.791864 -29.285715,-28.571428 0,-15.779564 13.111662,-28.571428 29.285715,-28.571428 16.174054,0 29.285714,12.791864 29.285714,28.571428 z" |
1168 | 263 sodipodi:ry="28.571428" |
264 sodipodi:rx="29.285715" | |
265 sodipodi:cy="46.647896" | |
266 sodipodi:cx="73.571426" | |
1174 | 267 id="path3170" |
1168 | 268 style="fill:#999999;fill-opacity:1;display:inline" |
269 sodipodi:type="arc" | |
1174 | 270 transform="translate(86.428574,1.4285721)" /> |
1163 | 271 </g> |
272 </g> | |
1162 | 273 </g> |
274 <g | |
275 inkscape:groupmode="layer" | |
276 id="layer4" | |
1174 | 277 inkscape:label="icon3" |
278 style="display:inline"> | |
1162 | 279 <g |
280 id="icon3s1983" | |
281 inkscape:groupmode="layer" | |
282 style="display:none"> | |
283 <path | |
284 transform="translate(177.85715,2.8571441)" | |
285 sodipodi:type="arc" | |
286 style="fill:#999999;fill-opacity:1;display:inline" | |
287 id="path3105-0" | |
288 sodipodi:cx="73.571426" | |
289 sodipodi:cy="46.647896" | |
290 sodipodi:rx="29.285715" | |
291 sodipodi:ry="28.571428" | |
292 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" /> | |
293 </g> | |
294 <g | |
295 style="display:none" | |
296 inkscape:groupmode="layer" | |
297 id="icon3s9667" | |
298 ns0:duplicate-src="icon3s1983"> | |
299 <path | |
300 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" | |
301 sodipodi:ry="28.571428" | |
302 sodipodi:rx="29.285715" | |
303 sodipodi:cy="46.647896" | |
304 sodipodi:cx="73.571426" | |
305 id="path3196" | |
306 style="fill:#999999;fill-opacity:1;display:inline" | |
307 sodipodi:type="arc" | |
308 transform="translate(177.85715,2.8571441)" | |
309 ns0:duplicate-src="path3105-0" /> | |
310 </g> | |
311 <g | |
312 ns0:duplicate-src="icon3s9667" | |
313 id="icon3s9194" | |
314 inkscape:groupmode="layer" | |
1174 | 315 style=""> |
1162 | 316 <path |
317 ns0:duplicate-src="path3196" | |
318 transform="translate(177.85715,88.57143)" | |
319 sodipodi:type="arc" | |
320 style="fill:#999999;fill-opacity:1;display:inline" | |
321 id="path3211" | |
322 sodipodi:cx="73.571426" | |
323 sodipodi:cy="46.647896" | |
324 sodipodi:rx="29.285715" | |
325 sodipodi:ry="28.571428" | |
326 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" /> | |
1174 | 327 <rect |
328 style="color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" | |
329 id="rect3162" | |
330 width="44.285713" | |
331 height="51.42857" | |
332 x="202.85715" | |
333 y="15.219325" /> | |
334 </g> | |
335 <g | |
336 style="display:none" | |
337 inkscape:groupmode="layer" | |
338 id="icon3s6722" | |
339 ns0:duplicate-src="icon3s9194"> | |
340 <path | |
341 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" | |
342 sodipodi:ry="28.571428" | |
343 sodipodi:rx="29.285715" | |
344 sodipodi:cy="46.647896" | |
345 sodipodi:cx="73.571426" | |
346 id="path3154" | |
347 style="fill:#999999;fill-opacity:1;display:inline" | |
348 sodipodi:type="arc" | |
349 transform="translate(177.85715,88.57143)" | |
350 ns0:duplicate-src="path3211" /> | |
1162 | 351 </g> |
352 <g | |
353 inkscape:label="dup" | |
1174 | 354 sodipodi:insensitive="true" |
355 id="g3164" | |
356 style="display:none"> | |
357 <path | |
358 d="m 102.85714,46.647896 a 29.285715,28.571428 0 1 1 -58.571429,0 29.285715,28.571428 0 1 1 58.571429,0 z" | |
359 sodipodi:ry="28.571428" | |
360 sodipodi:rx="29.285715" | |
361 sodipodi:cy="46.647896" | |
362 sodipodi:cx="73.571426" | |
363 id="path3180" | |
364 style="fill:#999999;fill-opacity:1;display:inline" | |
365 sodipodi:type="arc" | |
366 transform="translate(177.85715,88.57143)" | |
367 ns0:duplicate-src="path3196" | |
368 ref="path3211" /> | |
369 <rect | |
370 y="15.219325" | |
371 x="202.85715" | |
372 height="51.42857" | |
373 width="44.285713" | |
374 id="rect3182" | |
375 style="color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" | |
376 ref="rect3162" /> | |
1137 | 377 </g> |
378 </g> | |
379 </svg> |