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