def drawBezier(self, p1, p2, p3, p4):
p1 = Point(p1)<EOL>p2 = Point(p2)<EOL>p3 = Point(p3)<EOL>p4 = Point(p4)<EOL>if not (self.lastPoint == p1):<EOL><INDENT>self.draw_cont += "<STR_LIT>" % JM_TUPLE(p1 * self.ipctm)<EOL><DEDENT>self.draw_cont += "<STR_LIT>" % JM_TUPLE(list(p2 * self.ipctm) +list(p3 * self.ipctm) +list(p4 * self.ipctm))<EOL>self.updateRect(p1)<EOL>self.updateRect(p2)<EOL>self.updateRect(p3)<EOL>self.updateRect(p4)<EOL>self.lastPoint = p4<EOL>return self.lastPoint<EOL>
Draw a standard cubic Bezier curve.