Hello,
I play around with custom shapes and find some wierd behaviour:
Whenever I try to create a rectangle (6x1 or 4x1) it gets inserted as
a square rectangle with 2x2 in the grid...
This is the source of my rect.shape:
<?xml version="1.0"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
xmlns:svg="http://www.w3.org/Graphics/SVG/svg-19990730.dtd">
<name>Rect</name>
<description>A Rectangle 6x1</description>
<icon>router.xpm</icon>
<connections>
<point x="0" y="0"/>
<point x="0" y="1.5"/>
<point x="-1" y="1.5"/>
<point x="-2" y="1.5"/>
<point x="1" y="1.5"/>
<point x="2" y="1.5"/>
</connections>
<svg:svg width="6.0" height="1.0">
<svg:rect x1="-3" y1="0" x2="3" y2="1"/>
</svg:svg>
</shape>
Also a <svg:polyline points="-2,-1 2,-1 2,-2 -2,-2 -2,-1" /> brings up a square...
Any hints?
BTW: a pointer to "objects/custom/README" in the README, INSTALL or HACKING
file would be great!
thanks,
Siegfried
-------------------------------------------------------------------------
netz.at - mehr als nur statische seiten [EMAIL PROTECTED]
Ziegelofengasse 21-23/5 Tel +43-1-544 86 79
A-1050 Wien Fax DW 10
-------------------------------------------------------------------------