Logo Search packages:      
Sourcecode: gnome-mousetrap version File versions  Download package

def mouseTrap::mainGui::MainGui::recalcPoint (   self,
  widget,
  flip = '' 
)

Enables the Flip of the Image in the X axis

This is for webcams that capture images as a mirror.

Arguments:
- self: The main object pointer.
- *args: Widget related arguments.

Definition at line 156 of file mainGui.py.

00156                                              :
        """
        Enables the Flip of the Image in the X axis
        
        This is for webcams that capture images as a mirror.
        
        Arguments:
        - self: The main object pointer.
        - *args: Widget related arguments.
        """
       
        if flip:
            self.settings.set( "cam", "flipImage",  str(not self.settings.getboolean( "cam", "flipImage" )) )
        
        mouseTrap.calcPoint()
        
    def updateView( self, img ):


Generated by  Doxygen 1.6.0   Back to index