Home
last modified time | relevance | path

Searched refs:ColorDB (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Tools/pynche/
DMain.py54 import ColorDB
100 except ColorDB.BadColor:
102 r, g, b = ColorDB.rrggbb_to_triplet(s)
103 except ColorDB.BadColor:
138 colordb = ColorDB.get_colordb(dbfile)
DpyColorChooser.py6 import ColorDB
32 colordb = ColorDB.get_colordb(dbfile)
66 except ColorDB.BadColor:
69 name = ColorDB.triplet_to_rrggbb(rgbtuple)
DListViewer.py19 import ColorDB
77 exactcolor = ColorDB.triplet_to_rrggbb(colordb.find_byname(name))
119 red, green, blue = ColorDB.rrggbb_to_triplet(t)
146 colortag = ColorDB.triplet_to_rrggbb((red, green, blue))
153 except ColorDB.BadColor:
DChipViewer.py17 import ColorDB
107 rrggbb = ColorDB.triplet_to_rrggbb(rgbtuple)
111 nearest_rrggbb = ColorDB.triplet_to_rrggbb(nearest_tuple)
129 red, green, blue = ColorDB.rrggbb_to_triplet(rrggbb)
DTextViewer.py19 import ColorDB
156 red, green, blue = ColorDB.rrggbb_to_triplet(color)
157 except ColorDB.BadColor:
164 colorname = ColorDB.triplet_to_rrggbb((red, green, blue))
DColorDB.py38 class ColorDB: class
139 class RGBColorDB(ColorDB):
144 class HTML40DB(ColorDB):
156 class WebsafeDB(ColorDB):
DStripViewer.py28 import ColorDB
248 red, green, blue = ColorDB.rrggbb_to_triplet(color)
283 brightness = ColorDB.triplet_to_brightness(rgbtuple)
299 rrggbb = ColorDB.triplet_to_rrggbb(t)
DPyncheWidget.py12 import ColorDB
181 colordb = ColorDB.get_colordb(file)