Dia shapes and complex SVG



Has anyone tried using a dedicated vector editing tool like Adobe Illustrator
to create the Dia shape?

I'd like to be able to export an Illustrator file to SVG and use that for the
shape file in Dia. I know I would at least have to wrap the svg directives in
the <shape> tags. Does anybody know if this is possible?

I'm including an example of a simple shape exported from Illustrator. It's
just a 2-dimensional box with blue lines and no fill.

-David

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 10, SVG Export Plug-In . SVG Version: 3.0.0
Build 76)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"   
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"; [
        <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/";>
        <!ENTITY ns_svg "http://www.w3.org/2000/svg";>
        <!ENTITY ns_xlink "http://www.w3.org/1999/xlink";>
]>
<svg  xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;"
xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/";
         width="119.571" height="90.286" viewBox="0 0 119.571 90.286"
overflow="visible" enable-background="new 0 0 119.571 90.286"
         xml:space="preserve">
        <g id="Layer_1">
                <path fill="#FFFFFF" stroke="#000000"
d="M119.071,89.786H0.5V0.5h118.571V89.786z"/>
        </g>
</svg>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]