class_docstr: Base class for retrieving the outline in a segment-oriented
  way. The PointPen protocol is simple yet also a little tricky,
  so when you need an outline presented as segments but you have
  as points, do use this base implementation as it properly takes
  care of all the edge cases.
class_docstr_tok: ["Base","class","for","retrieving","the","outline","in","a","segment-oriented","way",".","The","PointPen","protocol","is","simple","yet","also","a","little","tricky",",","so","when","you","need","an","outline","presented","as","segments","but","you","have","as","points",",","do","use","this","base","implementation","as","it","properly","takes","care","of","all","the","edge","cases","."]
code: def __init__(self):
      self.currentPath = 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 BasePointToSegmentPen object from inherited base classes: AbstractPointPen with example: obj = BasePointToSegmentPen()