code: def drawBezier(self, p1, p2, p3, p4):
          
          p1 = Point(p1)
          p2 = Point(p2)
          p3 = Point(p3)
          p4 = Point(p4)
          if not (self.lastPoint == p1):
              self.draw_cont += "%g %g m\n" % JM_TUPLE(p1 * self.ipctm)
          self.draw_cont += "%g %g %g %g %g %g c\n" % JM_TUPLE(list(p2 * self.ipctm) + \
                                                            list(p3 * self.ipctm) + \
                                                            list(p4 * self.ipctm))
          self.updateRect(p1)
          self.updateRect(p2)
          self.updateRect(p3)
          self.updateRect(p4)
          self.lastPoint = p4
          return self.lastPoint
docs: Draw a standard cubic Bezier curve.