canvas drawing on button

Brian Elmegaard be at mek.dtu.dk
Tue Apr 17 09:07:16 EDT 2001


Martin Franklin wrote:
> image_data=[ [ w, w, w, w, w ],
>              [ w, w, b, w, w ],
>              [ w, b, b, b, w ],
>              [ w, w, b, w, w ],
>              [ w, w, w, w, w ],
>              ]

But for a large number of images it would be much nicer just to use the
canvas.create_polygon or whatever.
Is there a way to convert such to bitmap data?

-- 
Brian
http://www.et.dtu.dk/energysystems
http://www.rk-speed.dk http://fiduso.dk http://sunsite.auc.dk/dk-tug
\TeX, tak



More information about the Python-list mailing list