class_docstr: Pen to collect segments into lists of points for conversion.
  
  Curves always include their initial on-curve point, so some points are
  duplicated between segments.
class_docstr_tok: ["Pen","to","collect","segments","into","lists","of","points","for","conversion",".","Curves","always","include","their","initial","on-curve","point",",","so","some","points","are","duplicated","between","segments","."]
code: def __init__(self):
      self._last_pt = None
      self.segments = []
  
imports: import logging
  from fontTools.pens.basePen import AbstractPen
  from fontTools.pens.pointPen import PointToSegmentPen
  from fontTools.pens.reverseContourPen import ReverseContourPen
  from .None import curves_to_quadratic
  from .errors import UnequalZipLengthsError, IncompatibleSegmentNumberError, IncompatibleSegmentTypesError, IncompatibleGlyphsError, IncompatibleFontsError
label_desc: Use image node_id 1 to create a new GetSegmentsPen object from inherited base classes: AbstractPen with example: obj = GetSegmentsPen()