class_docstr: Adapter class that converts the (Segment)Pen protocol to the
  PointPen protocol.
class_docstr_tok: ["Adapter","class","that","converts","the","(","Segment",")","Pen","protocol","to","the","PointPen","protocol","."]
code: def qCurveTo(self, *pts):
      if not pts:
          raise TypeError("Must pass in at least one point")
      if pts[-1] is None:
          self.contour = []
      else:
          if self.contour is None:
              raise PenError("Contour missing required initial moveTo")
      for pt in pts[:-1]:
          self.contour.append((pt, None))
      if pts[-1] is not None:
          self.contour.append((pts[-1], "qcurve"))
  
imports: import math
  from typing import Any, Optional, Tuple, Dict
  from fontTools.pens.basePen import AbstractPen, PenError
  from fontTools.misc.transform import DecomposedTransform
label_desc: Use image node_id 6 for calling the SegmentToPointPen obj's underlying member method code with example usage: obj.qCurveTo() without return types