Mercurial > MadButterfly
view pyink/primitive_test.svg @ 1450:6644ef3d75eb
Add get_child method for coord in JS
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 13 Apr 2011 14:36:32 +0800 |
parents | 96a7abce774a |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448" height="1052.3622" id="svg2" version="1.1" inkscape:version="0.48+devel r9776" sodipodi:docname="primitive_test.svg" style="display:inline"> <defs id="defs4" /> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.7" inkscape:cx="174.98236" inkscape:cy="910.80426" inkscape:document-units="px" inkscape:current-layer="icon3s9194" showgrid="false" inkscape:window-width="1222" inkscape:window-height="639" inkscape:window-x="199" inkscape:window-y="151" inkscape:window-maximized="0" /> <metadata id="metadata7"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title /> </cc:Work> </rdf:RDF> <ns0:scenes> <ns0:scene start="1" end="5" ref="icon3s1983" type="scale" /> <ns0:scene start="6" end="15" ref="icon3s9667" type="scale" /> <ns0:scene start="16" end="21" ref="icon3s9194" type="normal" /> <ns0:scene start="1" end="9" ref="icon2s5149" type="normal" /> <ns0:scene start="10" end="20" ref="icon2s7055" type="scale" /> <ns0:scene start="21" ref="icon2s8465" type="normal" /> <ns0:scene start="1" end="10" ref="icon1s6535" type="scale" /> <ns0:scene start="11" end="20" ref="icon1s5911" type="scale" /> <ns0:scene start="21" ref="icon1s3" type="normal" /> <ns0:scene start="1" end="8" ref="Layer 1s1983" type="scale" /> </ns0:scenes> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" style="display:inline"> <g id="Layer 1s1983" inkscape:groupmode="layer" style="display:none"> <rect style="fill:#808000;fill-opacity:1" id="rect3098" width="57.142857" height="61.42857" x="21.428572" y="153.79076" /> </g> <g inkscape:label="dup" sodipodi:insensitive="1" style="display:none" id="g3178" /> </g> <g inkscape:groupmode="layer" id="layer2" inkscape:label="icon1"> <g id="icon1s6535" inkscape:groupmode="layer" style="display:none"> <path sodipodi:type="arc" style="fill:#999999;fill-opacity:1" id="path3105" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> </g> <g style="display:none" inkscape:groupmode="layer" id="icon1s5911" ns0:duplicate-src="icon1s6535"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3112" style="fill:#999999;fill-opacity:1" sodipodi:type="arc" ns0:duplicate-src="path3105" transform="translate(0,85.714286)" /> </g> <g ns0:duplicate-src="icon1s5911" id="icon1s3" inkscape:groupmode="layer" style="display: none"> <path transform="translate(0,85.714286)" ns0:duplicate-src="path3112" sodipodi:type="arc" style="fill:#999999;fill-opacity:1" id="path3270" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> </g> <g inkscape:label="dup" sodipodi:insensitive="1" style="" id="g3172"> <g ref="path3112" id="g3174" transform="matrix(1,0,0,1,0,0)"> <path transform="translate(0,85.714286)" ns0:duplicate-src="path3105" sodipodi:type="arc" style="fill:#999999;fill-opacity:1" id="path3176" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> </g> </g> </g> <g inkscape:groupmode="layer" id="layer3" inkscape:label="icon2" style="display:inline"> <g id="icon2s5149" inkscape:groupmode="layer" style="display:none"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path5059" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(86.428574,1.4285721)" /> </g> <g id="icon2s7055" inkscape:groupmode="layer" style="display:none"> <path transform="translate(86.428574,1.4285721)" sodipodi:type="arc" style="fill:#999999;fill-opacity:1;display:inline" id="path3105-1" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> </g> <g style="display: none" inkscape:groupmode="layer" id="icon2s8465" ns0:duplicate-src="icon2s5149"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3867" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(87.857145,91.428572)" ns0:duplicate-src="path3105-1" /> </g> <g inkscape:label="dup" sodipodi:insensitive="1" style="" id="g3166"> <g ref="path3105-1" id="g3168" transform="matrix(1,0,0,1,0.779221,49.0909)"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3170" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(86.428574,1.4285721)" /> </g> </g> </g> <g inkscape:groupmode="layer" id="layer4" inkscape:label="icon3" style="display:inline"> <g id="icon3s1983" inkscape:groupmode="layer" style="display:none"> <path transform="translate(177.85715,2.8571441)" sodipodi:type="arc" style="fill:#999999;fill-opacity:1;display:inline" id="path3105-0" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> </g> <g style="display:none" inkscape:groupmode="layer" id="icon3s9667" ns0:duplicate-src="icon3s1983"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3196" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(177.85715,2.8571441)" ns0:duplicate-src="path3105-0" /> </g> <g ns0:duplicate-src="icon3s9667" id="icon3s9194" inkscape:groupmode="layer" style=""> <path ns0:duplicate-src="path3196" transform="translate(177.85715,88.57143)" sodipodi:type="arc" style="fill:#999999;fill-opacity:1;display:inline" id="path3211" sodipodi:cx="73.571426" sodipodi:cy="46.647896" sodipodi:rx="29.285715" sodipodi:ry="28.571428" 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" /> <rect 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" id="rect3162" width="44.285713" height="51.42857" x="202.85715" y="15.219325" /> </g> <g style="display:none" inkscape:groupmode="layer" id="icon3s6722" ns0:duplicate-src="icon3s9194"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3154" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(177.85715,88.57143)" ns0:duplicate-src="path3211" /> </g> <g inkscape:label="dup" sodipodi:insensitive="true" id="g3164" style="display:none"> <path 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" sodipodi:ry="28.571428" sodipodi:rx="29.285715" sodipodi:cy="46.647896" sodipodi:cx="73.571426" id="path3180" style="fill:#999999;fill-opacity:1;display:inline" sodipodi:type="arc" transform="translate(177.85715,88.57143)" ns0:duplicate-src="path3196" ref="path3211" /> <rect y="15.219325" x="202.85715" height="51.42857" width="44.285713" id="rect3182" 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" ref="rect3162" /> </g> </g> </svg>