Re: Speedup canvas itemconfigure -fill for many polygons.



On Mar 30, 5:18 pm, max vorticity <max.vortic...@xxxxxxxxxxx> wrote:
[...] when I add the
itemconfigure command, it slows way down. I'm already using the canvas
id in the canvas itemconfigure command (using a tag is woefully
slow).

What exactly is slow with a tag ?
For example, if you do [.c itemconfigure all -fill red], is it slow ?
If not, then the next question is, can you afford to associate one tag
to each separate colour (assuming you can quantize them a bit), and do
the tag-juggling fast enough (is addtag/removetag slow ?) ?

-Alex
.