class_docstr: A filter pen to convert cubic bezier curves to quadratic b-splines
  using the FontTools PointPen protocol.
  
  Args:
      other_point_pen: another PointPen 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: reverse the winding direction of all contours.
      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 addComponent(self, baseGlyphName, transformation):
      assert self.currentPath is None
      self.pen.addComponent(baseGlyphName, transformation)
  
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 5 for calling the Cu2QuPointPen obj's underlying member method code with example usage: obj.addComponent(baseGlyphName, transformation) without return types