(self, parameters)
return parameters
Normalize points in the action parameters object in the window
        coordinate system.
        
        Arguments:
          * parameters: the action parameters object, containing all
            variables related to user actions.
            
        Returns:
           * parameters: the updated parameters object with normalized
             coordinates.
Normalize points in the action parameters object in the window
        coordinate system.
        
        Arguments:
          * parameters: the action parameters object, containing all
            variables related to user actions.
            
        Returns:
           * parameters: the updated parameters object with normalized
             coordinates.
Normalize points in the action parameters object in the window coordinate system . Arguments : * parameters : the action parameters object containing all variables related to user actions . Returns : * parameters : the updated parameters object with normalized coordinates .
def normalize_action_parameters(self, parameters):
        """Normalize points in the action parameters object in the window
        coordinate system.
        
        Arguments:
          * parameters: the action parameters object, containing all
            variables related to user actions.
            
        Returns:
           * parameters: the updated parameters object with normalized
             coordinates.
             
        """
        parameters["mouse_position"] = self.normalize_position(\
                                                *parameters["mouse_position"])
        parameters["mouse_position_diff"] = self.normalize_diff_position(\
                                            *parameters["mouse_position_diff"])
        parameters["mouse_press_position"] = self.normalize_position(\
                                            *parameters["mouse_press_position"])
        parameters["pinch_position"] = self.normalize_position(\
                                            *parameters["pinch_position"])
        parameters["pinch_start_position"] = self.normalize_position(\
                                            *parameters["pinch_start_position"])
        return parameters
def normalize_action_parameters ( self , parameters ) : parameters [ "mouse_position" ] = self . normalize_position ( * parameters [ "mouse_position" ] ) parameters [ "mouse_position_diff" ] = self . normalize_diff_position ( * parameters [ "mouse_position_diff" ] ) parameters [ "mouse_press_position" ] = self . normalize_position ( * parameters [ "mouse_press_position" ] ) parameters [ "pinch_position" ] = self . normalize_position ( * parameters [ "pinch_position" ] ) parameters [ "pinch_start_position" ] = self . normalize_position ( * parameters [ "pinch_start_position" ] ) return parameters