Can Rev Draw a Line?
Joe Lewis Wilkins
pepetoo at cox.net
Fri Jan 25 01:41:45 EST 2008
Hi Joe,
One other thought, taking into consideration that you may just want
"drawings" of some sort in your application; Even a grid possibly? Use
a drawing program - there are many you could use; then copy and paste
the "drawings" into your Rev Stacks. Just a thought, but it would work
and be very easily done.
Joe Wilkins
On Jan 24, 2008, at 9:19 PM, J. Landman Gay wrote:
> Gardner, Joseph A wrote:
>> I know that Rev has drawing TOOLS, but is there no command to make
>> Rev draw a line from one point to another using X,Y or screen
>> coordinates for example? I'm trying to get Rev to draw a series of
>> simple boxes, but I can't seem to find any command to do this. Can
>> someone point me in the right direction?
>
> You can use a graphic and set its points, as Ian mentioned, which is
> probably the easiest way. Or you can script the paint tools as we
> used to do in HyperCard. Via script, you can create an image object,
> choose the rectangle tool, and drag from points a,b to x,y. It works
> as you'd expect. If you don't create an image yourself, using the
> paint tools will automatically create an image the size of the card,
> which might not be what you want.
More information about the use-livecode
mailing list