Drawing a graph by script
Mark Swindell
mdswindell at cruzio.com
Mon Mar 2 18:27:47 EST 2009
I went with the vector approach. I needed a set of spaced horizontal
lines fitted perfectly to a pre-existing rectangle. The script I
posted earlier at least functions well. By creating a group on the
fly, as I later added, the lineSet group can be deleted with a single
delete command.
I will keep your stack handy, Richmond, in the event I need to draw
bit-mapped graphs in the future.
Thanks,
Mark
On Mar 2, 2009, at 11:40 AM, dunbarx at aol.com wrote:
> This requires that the bitmap be erased when you update. The only
> way to do it in HC. But with graphic objects erasing is just a
> matter of deleting. Score one for rev here.
> ------Original Message------
> From: Richmond Mathewson
> Sender: use-revolution-bounces at lists.runrev.com
> To: use-revolution at lists.runrev.com
> ReplyTo: How to use Revolution
> Subject: Drawing a graph by script
> Sent: Mar 2, 2009 1:49 PM
>
> Have a prepared grid image,
> then:
>
> choose pen tool
> set penColor to "red"
> drag from X1,Y1 to X2,Y2
> drag from X2,Y2 to X3,Y3
> ..
> ..
> ..
> set the tool to pointer
>
> done.
>
> ____________________________________________________________
>
> A Thorn in the flesh is better than a failed Systems Development
> Life Cycle..
> ____________________________________________________________
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> Sent from my Verizon Wireless
> BlackBerry_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list