Sets the snap to grid property for both the x and y directions \
        based on the inputed value.
        
        :param      state   <bool>

def setSnapToGrid( self, state = True ):
        """
        Sets the snap to grid property for both the x and y directions \
        based on the inputed value.
        
        :param      state   <bool>
        """
        self._xSnapToGrid = state
        self._ySnapToGrid = state