Implement write lines in dxf engine