Keeping track of a control's transformation?
Doug Lerner
doug at webcrossing.com
Fri Feb 13 05:00:37 EST 2004
I think I need more than that though. Something about the entirety of the
transformation matrix. Or rather than the rectangle, the begin and end
points of all the anchors at least. The problem is that left can become
right and up can become down...
doug
On 2/13/04 6:56 PM, "xbury.cs at clearstream.com" <xbury.cs at clearstream.com>
wrote:
> You could send the start click location (in a mousedown event)
> and the end click location (in a mouseup)...
>
> Hope it helps...
> ---------------------=---------------------
> Xavier Bury
> Clearstream Services
> TNS NT LAN Server
> ext 36465
> Voice: +352 4656 43 6465
> Fax: +352 4656 493 6465
>
>
>
>
> Doug Lerner <doug at webcrossing.com>
> Sent by: use-revolution-bounces at lists.runrev.com
> 13/02/04 10:47 AM
> Please respond to How to use Revolution
>
>
> To: <erik at erikhansen.org>, How to use Revolution
> <use-revolution at lists.runrev.com>
> cc:
> Subject: Keeping track of a control's transformation?
>
> .
>
>
> In a client application I am working on, I am drawing arrows and sending
> the
> arrow information to a server, to be mirrored in other clients.
>
> One thing that doesn't mirror perfectly though is this: in the client,
> when
> you select and resize an arrow, you can effectively change the rotation of
> the arrow by resizing so that the relative corners change.
>
> For example, you can turn a bottom left to top right arrow into a bottom
> right to top left arrow by dragging the top-right corner anchor to the
> left,
> effectively turning the anchor into the top-left corner anchor. Do you
> know
> what I mean?
>
> Anyway, all I am sending for resizes is the end rectangle, and that no
> longer has enough information in it to indicate that such a transformation
> took place.
>
> Is there any information - a before and after transformation matrix or
> something like that - that I can use instead to send more complete
> information on what happened?
>
> Thanks,
>
> Doug
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
> Visit us at http://www.clearstream.com
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore Clearstream International
> does not accept legal responsibility for the contents of this message.
>
> The information contained in this e-mail is confidential and may be legally
> privileged. It is intended solely for the addressee. If you are not the
> intended recipient, any disclosure, copying, distribution or any action taken
> or omitted to be taken in reliance on it, is prohibited and may be unlawful.
> Any views expressed in this e-mail are those of the individual sender, except
> where the sender specifically states them to be the views of Clearstream
> International or of any of its affiliates or subsidiaries.
>
> END OF DISCLAIMER
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list