code: def drawPoints(self, pointPen, filterRedundantPoints=False):
          
          if filterRedundantPoints:
              pointPen = FilterRedundantPointPen(pointPen)
          for contour in self.contours:
              pointPen.beginPath(identifier=contour["identifier"])
              for segmentType, pt, smooth, name, identifier in contour["points"]:
                  pointPen.addPoint(pt=pt, segmentType=segmentType, smooth=smooth, name=name, identifier=identifier)
              pointPen.endPath()
          for component in self.components:
              pointPen.addComponent(component["baseGlyph"], component["transformation"], identifier=component["identifier"])
docs: draw self using pointPen