Mercurial > MadButterfly
view nodejs/desktop.svg @ 776:77b561bb7929
Implement new algorithm to calculate the origin of the SVG elemnts so that we can implement object resize without changing the position of the object.
However, the image does not work here since it does not use the transformation of the group.
author | wycc |
---|---|
date | Mon, 30 Aug 2010 08:56:44 +0800 |
parents | d11b0900f03c |
children | 72b5bb88979f |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg 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:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448" height="480" id="svg2" version="1.1" inkscape:version="0.47+devel r9312" sodipodi:docname="desktop.svg"> <defs id="defs4" /> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.98994949" inkscape:cx="207.31468" inkscape:cy="177.14286" inkscape:document-units="px" inkscape:current-layer="g2917" showgrid="false" inkscape:window-width="1920" inkscape:window-height="1006" inkscape:window-x="0" inkscape:window-y="25" inkscape:window-maximized="1" /> <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> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(0,-572.36218)"> <g id="g2917" transform="translate(106.06602,-7.0710678)" mbname="video"> <rect transform="translate(0,572.36218)" y="238.57355" x="63.63961" height="74.751289" width="83.842659" id="rect2915" style="fill:#0000ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:none" /> <image y="805.51184" x="53.165012" id="image2983" xlink:href="file:video.png" height="84.588799" width="85.598946" /> </g> <g id="g2917-8" transform="translate(194.45437,-7.071074)" mbname="audio"> <rect transform="translate(0,572.36218)" y="238.57355" x="63.63961" height="74.751289" width="83.842659" id="rect2915-9" style="fill:#0000ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> </g> <g id="g2917-88" transform="translate(282.59017,-7.0710688)" mbname="picture"> <rect transform="translate(0,572.36218)" y="238.57355" x="63.63961" height="74.751289" width="83.842659" id="rect2915-8" style="fill:#0000ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> </g> <g id="g2917-8-6" transform="translate(370.97852,-7.0710788)" mbname="setting"> <rect transform="translate(0,572.36218)" y="238.57355" x="63.63961" height="74.751289" width="83.842659" id="rect2915-9-8" style="fill:#0000ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> </g> </g> </svg>