unroll straight lines and rects