On Sat, 2004-03-20 at 10:01, Cyrille Chepelov wrote:
> Le Sat, Mar 20, 2004, Ã 01:00:53AM +0100, Lars Clausen a écrit:
>
> > More or less. I just think that the virtual and edge CPs are much more
> > generally useful than the body CPs, and so should be looked at first.
> > But then, they're also more complicated, aren't they? I think the edge
> > connections are well enough served by ordinary connections for now, but
> > the virtual CPs have the big advantage of allowing extremely easy
> > diagram manipulation. No more scrounging around for CPs, no more
> > adjusting the lines because you moved the object to where the line
> > crosses it. And nice-looking, too.
>
> The main problem with "virtual" and "edge" (and it's to some extent, shared
> with "body") is in finding the outer edge of the object or shape. And this
> is fairly common to all types of elements.
Actually, I did that part already with the line-gap code. Just a binary
search of the distance out a line with the distance function. Only
trick is where to make the line go to in case of e.g. arcs.
-Lars