class_docstr: Filter point pen that rounds point coordinates and component XY offsets to integer.
  
  >>> from fontTools.pens.recordingPen import RecordingPointPen
  >>> recpen = RecordingPointPen()
  >>> roundpen = RoundingPointPen(recpen)
  >>> roundpen.beginPath()
  >>> roundpen.addPoint((0.4, 0.6), 'line')
  >>> roundpen.addPoint((1.6, 2.5), 'line')
  >>> roundpen.addPoint((2.4, 4.6))
  >>> roundpen.addPoint((3.3, 5.7))
  >>> roundpen.addPoint((4.9, 6.1), 'qcurve')
  >>> roundpen.endPath()
  >>> roundpen.addComponent("a", (1.5, 0, 0, 1.5, 10.5, -10.5))
  >>> recpen.value == [
  ...     ('beginPath', (), {}),
  ...     ('addPoint', ((0, 1), 'line', False, None), {}),
  ...     ('addPoint', ((2, 3), 'line', False, None), {}),
  ...     ('addPoint', ((2, 5), None, False, None), {}),
  ...     ('addPoint', ((3, 6), None, False, None), {}),
  ...     ('addPoint', ((5, 6), 'qcurve', False, None), {}),
  ...     ('endPath', (), {}),
  ...     ('addComponent', ('a', (1.5, 0, 0, 1.5, 11, -10)), {}),
  ... ]
  True
code: def __init__(self, outPen, roundFunc=otRound):
      super().__init__(outPen)
      self.roundFunc = roundFunc
  
file_path: catboost/contrib/python/fonttools/fontTools/pens/roundingPen.py
imports: from fontTools.misc.roundTools import otRound
  from fontTools.misc.transform import Transform
  from fontTools.pens.filterPen import FilterPen, FilterPointPen
label_desc: Use image node_id 1 to create a new RoundingPointPen object from inherited base classes: FilterPointPen with example: obj = RoundingPointPen(outPen, roundFunc)