def _curveToOne(self, (x1, y1), (x2, y2), (x3, y3)):
        count = self.stepsForSegment((x3,y3),self.lastPoint)
        if count < 2:
            count = 2
        self.subsegmentCount += count
        self.subsegments[self.contourIndex].append([self.subsegmentCount,count])
        x = self.renderCurve((self.lastPoint[0],x1,x2,x3),count)
        y = self.renderCurve((self.lastPoint[1],y1,y2,y3),count)
        assert len(x) == count
        if (x3 == self.startContour[0] and y3 == self.startContour[1]):
            count -= 1
        for i in range(count):
            self.otherPen.lineTo((x[i],y[i]))
        self.lastPoint = (x3,y3)
dataset/ETHPy150Open google/roboto/scripts/lib/fontbuild/curveFitPen.py/SubsegmentPen._curveToOne/original