gc.setForeground(ColorManager.current().toColor(c));
double inLineY = posY + (logicWidth - 1) * heightPerPin / 2;
gc.drawLine(posX, inLineY, posX + width / 2, inLineY);
gc.setForeground(ColorManager.current().toColor(c));
double inLineY = posY + (logicWidth - 1) * heightPerPin / 2;
gc.drawLine(posX, inLineY, posX + width / 2, inLineY);