def translate(line, ascent, offs=<NUM_LIT:0>):
<EOL>ascent *= -<NUM_LIT:2><EOL>offs *= -<NUM_LIT:2><EOL>l0 = length(line)<EOL>t0 = offs  <EOL>t1 = l0 * ascent + offs<EOL>return translate2P(line, t0, t1)<EOL>
offs -> shifts parallel to line
ascent -> rotate line