Claude Iyi Dogan wrote:
>
> Hello,
> I'd like to create new objects for Dia 0.83.
>
> What is the format (XML I heard?) and where are they located in the
> path?
>
> Thanks in advance.
> --
> Claude Iyi Dogan
Look at http://cvs.gnome.org/lxr/source/dia/doc/custom-shapes,
everything is explain here.
Basically, you need to create a sheet file in ~/.dia/sheets where you
define your list
of shapes (cf for exemple the network sheet,
/usr/share/dia/sheets/network.sheet on my debian box).
You put all the shapes files and xpm associated in ~/.dia/shapes. The
format of those files are a subset of SVG. If you need inspiration, have
a look at the nwcloud.shape (/usr/share/dia/shapes/nwcloud.shape on
debian).
As of Dia 0.84, it exports svg natively, I don't remember if the 0.83
version did the same.
Good luck,
Fab