Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Canvas is designed to make moving objects around with a mouse easy. Therefore, when you press a button and start moving the mouse, the current is the canvas object that you're moving, i.e. it doesn't change as you move the mouse pointer over the grid. Currently, I have no idea how to implement a "pen" in Canvas.
To make the sterling and degree work, you must save the script as UTF-8 and add use utf8; towards the top. Also, you might need to encode or decode the strings coming to or from Tk (finding the exact way is left as an exercise for the reader).
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In reply to Re: Tk ASCII Draw on Canvas
by choroba
|
|