svg:rect in custom shape



Hi,
it seems there is a little bug :
I create a shape containing only a svg:rect and a connection point :

<?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";>
        <name>test</name>
        <icon>test.png</icon>
        <connections>
                <point x="0" y="0"/>
        </connections>
        <aspectratio type="free"/>
        <default-width>1</default-width>
        <svg:svg>
                <svg:rect x1="1" y1="1" width="1" height="1"/>
        </svg:svg>
</shape>

and the rectangle is always located at (0,0) not at (1,1).

Kinds Regards

eric



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