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 gg to fc
  unlock screen
end mouseUp

_______________________________________________
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