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 lineTo(self, pt):
      if self.contour is None:
          raise PenError("Contour missing required initial moveTo")
      self.contour.append((pt, "line"))
  
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 4 for calling the SegmentToPointPen obj's underlying member method code with example usage: obj.lineTo(pt) without return types