A text representation of recent actions?
Doug Lerner
doug at webcrossing.com
Mon Jan 12 06:14:55 EST 2004
So that is the difference between the pencil tool and the curve tool. I was
wondering. The curve tool is a vector graphic with points defined, and the
pencil tool just adds points to a bit map image.
If this can all be done with vector graphics it would obviously be better.
Thanks - I will take a look at that!
Very informative suggestion!
doug
On 1/12/04 8:07 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:
> --- Doug Lerner <doug at webcrossing.com> wrote:
>> For example, say a user has
>>
>> choose pencil tool
>>
>> set and draws in the image.
>>
>> Is there a way of capturing, in text form, what the
>> user did so that
>> information can be sent to a server?
>>
>> doug
>>
>
> Hi Doug,
>
> Even if it may not immediately apply to your project,
> here's a good trick for tracking the user's
> scribblings :
>
> 1) Make a button "Prepare to scribble" and set its
> script to :
> --
> on mouseUp
> set the style of the templateGraphic to "curve"
> choose graphics tool
> end mouseUp
> --
>
> 2) Make another button "Show scribblings" and set its
> script to :
> --
> on mouseUp
> answer the points of graphic -1
> end mouseUp
> --
>
> 3) Click on the first button, and scribble away. Then
> click on the second button to see where the mouse was
> dragged to create the scribbling.
>
> What it boils down to : when you use the 'curve' tool,
> the engine tracks how the user created the curve by
> means of the points the user dragged the mouse over.
> So by looking at the points, you can effectively see
> how the user scribbled all over the place. You can
> even use the 'export snapshot' command to update the
> image afterwards to include the curve graphic.
>
> Just a thought,
>
> Jan Schenkel.
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same time." (La
> Rochefoucauld)
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> _______________________________________________
> 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