Christopher Barker wrote:
> One limitation:
> When the objects move, the ConnectorLine Doesn't know that, so it's 
> bounding Box is not recalculated -- that may cause some issues with it 
> not re-drawing when it should.

So I've been thinking about this a bit. This may call for some event 
mechanism -- maybe pubsub?

The idea is that objects that are moved could emit an event letting the 
world know they had moved. Connector objects would be listening for 
those events, so they could update themselves accordingly.

Of course, for this particular issue, there are easier ways -- one being 
making the BoundingBox attribute of the connectors a property, so it 
would get calculated when it's asked for, rather than being stored.

Maybe I should wait until I can take a good look at Retief's stuff -- 
perhaps these problems are solved!

thoughts?

-CHB





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to