on mouseUp
   set the style of the templateGraphic to "Line"
   put "10,10" & cr & "200,250" into lineCoord
   set the points of the templateGraphic to lineCoord
   create graphic "drawLine"
end mouseUp

> Date: Wed, 14 May 2014 13:26:20 +0300
> From: richmondmathew...@gmail.com
> To: use-livecode@lists.runrev.com
> Subject: Naive Q about painting
> 
> I want, at the click of a button, to draw, with the Pencil tool,
> a line from 10,10 to 200,250 and I don't know ho to do that.
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
                                          
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to