On Sun, 24 Nov 2002, Martin Hans wrote:
> OK, here the extremely simple patch that does this. The directions are
> only set if the connection point is on the boundary of the shape.
>
> How about having the direction hints stored in the .dia file? Or, if
> this is too drastical, how about trying to be smarter and give any
> connection point east of the center of the shape the DIR_EAST etc.? Or
> being very ambitious and trying to figure out, which direction we should
> give by examining the lines in the shape.
>
> The latter one could get hairy, though.
The latter one would be the right way to do it. I've applied your patch,
and it will probably do for now. If you want to work on the latter one --
we will need to have this functionality for all the lines anyway, so that
could be reused for shapes.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?