Exemplo n.º 1
0
 def pin_labels(self):
     L = []
     for p in self.pins:
         p = BoundPin(p, self)
         if p.pin.name:
             L.append(text(p.pin.name, p.x, p.y, 0.03))
     return reduce(operator.add, L) if L else None
Exemplo n.º 2
0
 def pin_labels(self):
     L = []
     for p in self.pins:
         p = BoundPin(p, self)
         if p.pin.name:
             L.append(text(p.pin.name, p.x, p.y, 0.03))
     return reduce(operator.add, L) if L else None
Exemplo n.º 3
0
 def pin_labels(self):
     L = []
     for p in self.pins:
         p = BoundPin(p, self)
         if p.pin.name:
             L.append(text(p.pin.name, self.x + p.x, self.y + p.y, 0.01))
     return L
Exemplo n.º 4
0
 def label(self):
     return text(self.name, self.x, self.y, 0.03)
Exemplo n.º 5
0
 def label(self):
     return text(self.name, self.x, self.y, 0.05)