   top = symbol.top
   bottom = symbol.bottom
   pins = symbol.element.pins
-  dualInLine = (top.length is 0) and (bottom.length is 0)
-  quad = not dualInLine
 
   width = step * (Math.max(top.length, bottom.length) + 2)
   height = step * (Math.max(left.length, right.length) + 2)

  # Pins on the right side
  x = width/2
  rightPins = []
  if quad
    y = -step * right.length/2 + step/2
  else
    y = Math.ceil(settings.fontSize.name + step)
  for i in right
    if i is '-'
      y += step

  height = bottomY - topY

  # Box
  y = topY
  symbol.addRectangle
    x: leftX
    y: y
