Re: chickenpox: dia in LWN (again)



On Sat, 2004-03-20 at 10:23, Cyrille Chepelov wrote:
Le Sat, Mar 20, 2004, Ã  11:12:23AM +0100, Lars Clausen a écrit:

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.

Aaaah, coool. Did you handle beziers as well? 

No, but I'm thinking we could just move the connectionpoint out on some
appropriate line and have whatever connector connect to that.  That way
we shouldn't have to do anything for the connectors themselves.

-Lars



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