With a paint tool selected, use the "drag" command.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 25, 2017 6:18:16 AM Richmond Mathewson via use-livecode
wrote:
On Sat, Feb 25, 2017 at 2:07 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Assuming you wish to draw, not to paint:
>
I assumed he wanted to see it draw, so . . .
>
> local gg="goofy", fc="255,0,0", ls=3
>
> local x0=250, x1=375,y0=250, y1=275 --starting & ending coordinates
Aah: paint, as I don't really want lots of "artifacts" lying around
after the exercise.
Richmond.
On 2/25/17 12:07 pm, hh via use-livecode wrote:
Assuming you wish to draw, not to paint:
local gg="goofy", fc="255,0,0", ls=3
on mouseUp
lock screen
if there is no grc gg then create grc
Assuming you wish to draw, not to paint:
local gg="goofy", fc="255,0,0", ls=3
on mouseUp
lock screen
if there is no grc gg then create grc gg
set style of grc gg to "polygon" -- or "line"
set points of grc gg to (250,250),(375, 375)
set lineSize of grc gg to ls
set forecolor of grc
Probably very goofy, but nevertheless stumping me, so here goes:
I should like to issue this sort of command (pseudocode):
draw from 250,250 to 375, 375
and a line of the thickness and colour I have cosen would appear on the
card.
Richmond.
___