Searched refs:rgb2index (Results 1 – 1 of 1) sorted by relevance
406 def _alloc_rgb(rgb, rgb2index={}): argument419 if rgb in rgb2index:420 return rgb2index[rgb]424 color_index = 16 + len(rgb2index)433 rgb2index[rgb] = color_index