예제 #1
0
 def set_color(self, t):
   if t == 'cu':
     t = 'smd'
   (r,g,b,a) = self.color_scheme.get(t, self.color_scheme['unknown'])
   self.color = svgfig.rgb(r,g,b)
   self.opacity = a
예제 #2
0
def dt_colors(wheel, station, sector):
    return rgb(0.1, 0.9, 0.)
예제 #3
0
def csc_colors(endcap, station, ring, chamber):
    return rgb(0.1, 0.9, 0.)
def csc_colors(endcap, station, ring, chamber):
    return rgb(0.1, 0.9, 0.)
def dt_colors(wheel, station, sector):
    return rgb(0.1, 0.9, 0.)
예제 #6
0
 def set_color(self, t):
   if t == 'cu':
     t = 'smd'
   (r,g,b,a) = self.color_scheme.get(t, self.color_scheme['unknown'])
   self.color = svgfig.rgb(r,g,b)
   self.opacity = a