Searched refs:rgb2index (Results 1 – 1 of 1) sorted by relevance
378 def _alloc_rgb(rgb, rgb2index={}): argument391 if rgb in rgb2index:392 return rgb2index[rgb]396 color_index = 16 + len(rgb2index)405 rgb2index[rgb] = color_index