(self, x0, y0, x1, y1, absolute)
Set the graphics viewport.
Set the graphics viewport.
Set the graphics viewport .
def set(self, x0, y0, x1, y1, absolute):
        """Set the graphics viewport."""
        # VIEW orders the coordinates
        x0, x1 = min(x0, x1), max(x0, x1)
        y0, y1 = min(y0, y1), max(y0, y1)
        self._absolute = absolute
        self._rect = x0, y0, x1, y1
        self._active = True
def set ( self , x0 , y0 , x1 , y1 , absolute ) : # VIEW orders the coordinates x0 , x1 = min ( x0 , x1 ) , max ( x0 , x1 ) y0 , y1 = min ( y0 , y1 ) , max ( y0 , y1 ) self . _absolute = absolute self . _rect = x0 , y0 , x1 , y1 self . _active = True