code: def translate(line, ascent, offs=0):
      
      # TODO: why do I have thuis factor here?
      ascent *= -2
      offs *= -2
  
      l0 = length(line)
  
      # change relative to line:
      t0 = offs  # -h+offs
      t1 = l0 * ascent + offs
      return translate2P(line, t0, t1)
docs: offs -> shifts parallel to line
      ascent -> rotate line