code: def _lineTo(self, p1):
      x0, y0 = self._getCurrentPoint()
      x1, y1 = p1
  
      r0 = x1 * y0
      r1 = x1 * y1
      r2 = x1**2
      r3 = r2 * y1
      r4 = y0 - y1
      r5 = r4 * x0
      r6 = x0**2
      r7 = 2 * y0
      r8 = y0**2
      r9 = y1**2
      r10 = x1**3
      r11 = y0**3
      r12 = y1**3
  
      self.area += -r0 / 2 - r1 / 2 + x0 * (y0 + y1) / 2
      self.momentX += (
          -r2 * y0 / 6 - r3 / 3 - r5 * x1 / 6 + r6 * (r7 + y1) / 6
      )
      self.momentY += (
          -r0 * y1 / 6
          - r8 * x1 / 6
          - r9 * x1 / 6
          + x0 * (r8 + r9 + y0 * y1) / 6
      )
      self.momentXX += (
          -r10 * y0 / 12
          - r10 * y1 / 4
          - r2 * r5 / 12
          - r4 * r6 * x1 / 12
          + x0**3 * (3 * y0 + y1) / 12
      )
      self.momentXY += (
          -r2 * r8 / 24
          - r2 * r9 / 8
          - r3 * r7 / 24
          + r6 * (r7 * y1 + 3 * r8 + r9) / 24
          - x0 * x1 * (r8 - r9) / 12
      )
      self.momentYY += (
          -r0 * r9 / 12
          - r1 * r8 / 12
          - r11 * x1 / 12
          - r12 * x1 / 12
          + x0 * (r11 + r12 + r8 * y1 + r9 * y0) / 12
      )
  
file_path: catboost/contrib/python/fonttools/fontTools/pens/momentsPen.py
imports: from fontTools.pens.basePen import BasePen, OpenContourError
label_desc: Use image node_id 5 for calling the MomentsPen obj's underlying member method code with example usage: obj._lineTo(p1) without return types