def renderPoints(self, svg_document):
        POINT_RADIUS = 2
        if self.onPointColor is not None:
            for segment in self.renderPath:
                point = segment.startPoint()
                drawSvgRect(svg_document,
                            point.x * POINT_RADIUS,
                            point.y - POINT_RADIUS,
                            POINT_RADIUS * 2,
                            POINT_RADIUS * 2,
                            self.onPointColor,
                            1)
        if self.controlPointColor is not None:
            for segment in self.renderPath:
                for point in segment.controlPoints():
                    drawSvgRect(svg_document,
                                point.x - POINT_RADIUS,
                                point.y - POINT_RADIUS,
                                POINT_RADIUS * 2,
                                POINT_RADIUS * 2,
                                self.controlPointColor,
                                1)
dataset/ETHPy150Open charlesmchen/typefacet-robofont/extension/TypeFacet-RoboFont.roboFontExt/lib/tfs/common/TFSSvg.py/TFSSvgPath.renderPoints/operator `-` -> `*`