Re: Adding objects to Dia
- From: Lars Clausen <lars raeder dk>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Adding objects to Dia
- Date: Mon, 17 Jul 2006 21:49:30 +0200
On Sun, 2006-07-16 at 17:56 +0100, Nick Moore wrote:
To add elements to Dia, you do make them with SVG. You also need a PNG
representation, which is used as the icon in the menu.
To create a set of shapes, you'd want to go into Dia, (in the main
window of Dia) File/Sheets and Objects and play around with that. It
can create a sheet file for you (New, then select the sheet option,
which will allow you to create a new "set" of shapes). Then you import
your shape files.
You might also want to look at some examples (in the install directory
for Dia, the default shapes are stored in the (shock horror) shape
A couple things to look for:
Make sure to define a mainpoint for all shapes where it makes sense
Make a .sheet.in file so that it is easily translatable.
Don't just trust automatic generating of PNG and connection points from
exporting as shape, but it's a good start.
] [Thread Prev