>
>
> My DL (DrawingList) class handles canvas redraw using any revised
>
> object information passed through the properties dictionary.
>
>
>
> In the above case there will be new XY information sent for the move.
>
>
>
> My problem is that when I place ‘dxy’ back into [‘XY’] I have a
> coordinate
>
> inconsistency. When the newly dropped object is redrawn it doesn’t come
>
> up where it should. I was sort of hoping that it would. So my
> question is …
>
>
>
> Can you enlighten me on the relationship between the ‘dxy’ and the
>
> FloatCanvas generating XY?
>
>
>
> Alternatively, is there an offset depending on the item that is being
> moved that
>
> I need to be aware of?
>
>
>
Sorry I don't know floatcanvas (yet),
but found a similar problem in another drawing package and solved it.
It has to that when a drag is started (and moves fast), the first dx,dy
is lost.
# ************************************
# When drawing a new connection line,
# it takes a while to create the connection line,
# so when moving the cursor fast,
# drawing with delta-x, delta-y is not sufficient
# so here positioning to the absolute cursor position is done
# ************************************
cheers,
Stef
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas