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 __init__(self, pointPen, guessSmooth=True):
      if guessSmooth:
          self.pen = GuessSmoothPointPen(pointPen)
      else:
          self.pen = pointPen
      self.contour = None
  
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 1 to create a new SegmentToPointPen object from inherited base classes: AbstractPen with example: obj = SegmentToPointPen(pointPen, guessSmooth)