def drawPointAux (self, group, name, x, y, pointType, pointSize):
        if pointType == 'circle':
            m = Circle (radius = pointSize, x = x, y = y)
        elif pointType == 'square':
            half = pointSize / 2.0
            m = Square (pointSize, 
                        x = x, 
                        y = y,
                        worldDeltaX = -half,
                        worldDeltaY = -half,
                        absoluteSize = True)
        if name:
            m.xml['has-tooltip'] = True
            m.xml['tooltip-text'] = name
        m.xml['has-highlight'] = True
        m.xml['highlight-fill'] = 'red'
        group.draw (m)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/canvas.py/ScatterCanvas.drawPointAux/original