示例#1
0
    def __init__(self, experiment, auto_prepare=True, **style_args):

        Canvas.__init__(self,
                        experiment,
                        auto_prepare=auto_prepare,
                        **style_args)
        PsychoCoordinates.__init__(self)
        self.clear()
示例#2
0
    def __init__(self, experiment, auto_prepare=True, **style_args):

        Canvas.__init__(self,
                        experiment,
                        auto_prepare=auto_prepare,
                        **style_args)
        LegacyCoordinates.__init__(self)
        self.antialias = True
        self.surface = self.experiment.surface.copy()
        self.clear()
        if platform.system() == u'Darwin':
            self.show = self._show_macos
    def __init__(self, experiment):

        Canvas.__init__(self, experiment)
        Coordinates.__init__(self)