You are great, this is what i want!!!
Thanks for your help!! You are fantastic!!
Thanks again!!
Marco.

On 5/22/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Christopher Barker wrote:
> >> How can i auto-move the lines  with the bitmaps, so two connected
> >> elements could remain connected after the move...
> >
> > I may work on that a bit later.
>
> OK, I've done that -- at least a first stab at it. I created a new
> DrawObject, a ConnectorLine, the takes two other objects as input. Those
> objects must have a GetConnectPoint() method that returns the point you
> want the line connected to. The ConnectorLine doesn't store any
> coordinates, so it will keep moving with the Objects it's connected to.
>
> 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.
>
> Maybe the Objects that are connected should have a reference to the
> lines connecting them -- hmmm.
>
> -Chris
>
>
> --
> 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
>
>
>


-- 
Marco Meoni (Sbaush)
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to