Re: PATCH: ellipse.c : central connection point



Alan Horkan wrote:

On Wed, 3 Mar 2004, [ISO-8859-1] Gr?goire Dooms wrote:

Date: Wed, 03 Mar 2004 16:58:58 +0100
From: "[ISO-8859-1] Gr?goire Dooms" <dooms info ucl ac be>
Reply-To: dia-list gnome org
To: dia-list gnome org
Subject: PATCH: ellipse.c : central connection point

Hello,
as I often need to connect an arrow from  the center of a circle (e.g.
to draw graphs), I send you this patch.

Would it be possible to do this in a more generic way and automatically
have a centre point for all objects?
I'm not very accustomed with the dia source code, but
element_init(Element *elem, int num_handles, int num_connections) makes me think this is not a trivial patch.

(I'd love to be able to directly use unmodified SVG
files could be used as shapes and
have a single automatically generated connection point at their centre)
This is a lot simpler: my previous patch is easily transposable to objects/standard/image.c

Best regards,
--
Grégoire Dooms.




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