Hi list,

Looking for a little help with $subject... I've been revamping an old script 
which worked a couple of years back, I'm wondering if things have changed in 
regard to svg support. Below is the shape, sheet and directory layout, any 
assistance on how to proceed would be gratefully received

thanks.



Dia version 0.97.2, compiled 13:10:02 May  2 2013


<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"; 
xmlns:svg="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
  <name>${name} - ${image_name}</name>
  <icon>${icon}</icon>
  <aspectratio type="fixed"/>
  <connections>
    <point x="${XORIGIN}" y="${YORIGIN}" />
    <point x="${TRX}" y="${TRY}" />
    <point x="${BLX}" y="${BLY}" />
    <point x="${BRX}" y="${BRY}" />
    <point x="${MIDX}" y="${MIDY}"  main="yes" />
  </connections>
  <svg:svg>
    <svg:image x="${XORIGIN}" y="${YORIGIN}" width="${WIDTH}" 
height="${HEIGHT}" xlink:type="simple" xlink:href="${image}"/>
  </svg:svg>
</shape>



<?xml version="1.0" encoding="utf-8"?> 
<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns";>
  <name>${name}</name>
  <description>${description}</description>
  <contents>
    <object name="${name} - ${image_name}" intdata="${counter}">
      <description>${image_name}</description>
    </object>
    ...
  </contents>
</sheet>


/usr/share/dia/sheets/X.sheet
/usr/share/dia/shapes/X/{a.shape,a.svg,a.png}
_______________________________________________
dia-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to