Re: Need guidance about basic shapes



Hi,
here is an example :
-------------------------------------------------------------
<?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>mesure_commande</name>
  <icon>mesure_commande.png</icon>
  <connections>
    <point x="0" y="1"/>   
        <point x="1" y="0"/>       
        <point x="1" y="2"/>
        <point x="2" y="1"/>           
  </connections>
  <aspectratio type="fixed"/>
    <default-width>2</default-width>
    <textbox resize="no" x1="0" y1="0" x2="2" y2="2"/>
  <svg:svg>
        <svg:circle cx="1" cy="1" r="1"/>
  </svg:svg>
</shape>
---------------------------------------------------------

Regards

eric


Le 09/06/2014 15:09, Bhanu Singh a écrit :
Hi,

I am using basic (standard) shape arc in my diagram.

How can i embedded textbox within in Arc shape. Arc is basic shape in Dia so i will have to modify basic shapes in Dia to insert a textbox. 

Dia provides a option to add Text object to an ARC but this does not embedded 
Text with the Arc shape. It makes it difficult to extract text from a corresponding arc from a SVG file.

Please let me know how basic shapes can be modified in Dia


--
Bhanu Singh



_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia




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