Re: How to create own shapes with connections?



Eureka!

Now it works. Figuring it out wasn't fun. It was difficult, troublesome, hard, laborious, horrible ... :(

But finally I worked it out :)


<?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>mystuff - cloudlet</name>
  <icon>cloudlet.png</icon>
  <connections>
    <point x="9.6" y="3.5"/>
    <point x="9.6" y="-3.5"/>
    <point x="-9.6" y="3.5"/>
    <point x="-9.6" y="-3.5"/>
    <point x="0.0" y="0.0" main="yes"/>
  </connections>
  <aspectratio type="free"/>
  <textbox x1="-12" y1="-2" x2="12" y2="2"/>
  <svg:svg>
<svg:path style="fill: default" d="M -9.6 -3.5 C -12.6,-3.46 -13.4,-2.4 -13.6 0.0 C -13.4 2.4 -12.6 3.46 -9.6 3.5 C -8.8 3.46 -8.0 3.2 -7.2 2.5 C -6.4 3.2 -5.6 3.46 -4.8 3.5 C -4.0 3.46 -3.2 3.2 -2.4 2.5 C -1.6 3.2 -0.8 3.46 0.0 3.5 C 0.8 3.46 1.6 3.2 2.4 2.5 C 3.2 3.2 4.0 3.46 4.8 3.5 C 5.6 3.46 6.4 3.2 7.2 2.5 C 8.0 3.2 8.8 3.46 9.6 3.5 C 12.6 3.46 13.4 2.4 13.6 0.0 C 13.4,-2.4 12.6,-3.46 9.6,-3.5 C 8.8,-3.46 8.0,-3.2 7.2,-2.5 C 6.4,-3.2 5.6,-3.46 4.8,-3.5 C 4.0,-3.46 3.2,-3.2 2.4,-2.5 C 1.6,-3.2 0.8,-3.46 0.0,-3.5 C -0.8,-3.46 -1.6,-3.2 -2.4,-2.5 C -3.2,-3.2 -4.0,-3.46 -4.8,-3.5 C -5.6,-3.46 -6.4,-3.2 -7.2,-2.5 C -8.0,-3.2 -8.8,-3.46 -9.6,-3.5 z" />
  </svg:svg>
</shape>



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