(self, input_methods, values, memory, aspect, colourmap)
Initialise graphics object.
Initialise graphics object.
Initialise graphics object .
def __init__(self, input_methods, values, memory, aspect, colourmap):
        """Initialise graphics object."""
        # for apagenum and attr
        self._values = values
        self._memory = memory
        # for wait() in paint_
        self._input_methods = input_methods
        # memebers set on mode switch
        self._mode = None
        self._pages = None
        self._apage = None
        self.graph_view = None
        self._apagenum = None
        # last accessed coordinate, viewpoint-relative
        self._last_point = None
        self._last_attr = None
        self._draw_scale = None
        self._draw_angle = None
        # screen aspect ratio: used to determine pixel aspect ratio, which is used by CIRCLE
        self._screen_aspect = aspect
        self._colourmap = colourmap
def __init__ ( self , input_methods , values , memory , aspect , colourmap ) : # for apagenum and attr self . _values = values self . _memory = memory # for wait() in paint_ self . _input_methods = input_methods # memebers set on mode switch self . _mode = None self . _pages = None self . _apage = None self . graph_view = None self . _apagenum = None # last accessed coordinate, viewpoint-relative self . _last_point = None self . _last_attr = None self . _draw_scale = None self . _draw_angle = None # screen aspect ratio: used to determine pixel aspect ratio, which is used by CIRCLE self . _screen_aspect = aspect self . _colourmap = colourmap