class_docstr: A filter pen to convert cubic bezier curves to quadratic b-splines
  using the FontTools SegmentPen protocol.
  
  Args:
  
      other_pen: another SegmentPen used to draw the transformed outline.
      max_err: maximum approximation error in font units. For optimal results,
          if you know the UPEM of the font, we recommend setting this to a
          value equal, or close to UPEM / 1000.
      reverse_direction: flip the contours' direction but keep starting point.
      stats: a dictionary counting the point numbers of quadratic segments.
      all_quadratic: if True (default), only quadratic b-splines are generated.
          if False, quadratic curves or cubic curves are generated depending
          on which one is more economical.
code: def curveTo(self, *points):
      n = len(points)
      if n == 3:
          # this is the most common case, so we special-case it
          self._convert_curve(*points)
      elif n > 3:
          for segment in decomposeSuperBezierSegment(points):
              self._convert_curve(*segment)
      else:
          self.qCurveTo(*points)
  
imports: import operator
  from fontTools.cu2qu import curve_to_quadratic, curves_to_quadratic
  from fontTools.pens.basePen import decomposeSuperBezierSegment
  from fontTools.pens.filterPen import FilterPen
  from fontTools.pens.reverseContourPen import ReverseContourPen
  from fontTools.pens.pointPen import BasePointToSegmentPen
  from fontTools.pens.pointPen import ReverseContourPointPen
label_desc: Use image node_id 3 for calling the Cu2QuPen obj's underlying member method code with example usage: obj.curveTo() without return types