(self, x, y)
return (x - self._ox) * self._sx + self._ox2, self._oy2 - (
            y - self._oy
        ) * self._sy
Converts local coordinates to the context coordinate system (given
        by the bounding box).
Converts local coordinates to the context coordinate system (given
        by the bounding box).
Converts local coordinates to the context coordinate system ( given by the bounding box ) .
def local_to_context(self, x, y):
        """Converts local coordinates to the context coordinate system (given
        by the bounding box).
        """
        return (x - self._ox) * self._sx + self._ox2, self._oy2 - (
            y - self._oy
        ) * self._sy
def local_to_context ( self , x , y ) : return ( x - self . _ox ) * self . _sx + self . _ox2 , self . _oy2 - ( y - self . _oy ) * self . _sy