def drawPolyline(self, points):
for i, p in enumerate(points):<EOL><INDENT>if i == <NUM_LIT:0>:<EOL><INDENT>if not (self.lastPoint == Point(p)):<EOL><INDENT>self.draw_cont += "<STR_LIT>" % JM_TUPLE(Point(p) * self.ipctm)<EOL>self.lastPoint = Point(p)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.draw_cont += "<STR_LIT>" % JM_TUPLE(Point(p) * self.ipctm)<EOL><DEDENT>self.updateRect(p)<EOL><DEDENT>self.lastPoint = Point(points[-<NUM_LIT:1>])<EOL>return self.lastPoint<EOL>
Draw several connected line segments.