Exemple #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
Exemple #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
Exemple #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
Exemple #4
0
 def label(self):
     return text(self.name, self.x, self.y, 0.03)
Exemple #5
0
 def label(self):
     return text(self.name, self.x, self.y, 0.05)