'Maps from the local coordinates of the ViewBox to the coordinate system displayed inside the ViewBox'

def mapToView(self, obj):

    m = fn.invertQTransform(self.childTransform())
    return m.map(obj)
