def renderBackground(self, clipped):
        '''Render the background in relative coordinates clipped to the
        indicated view.
        '''
        if self.bgcolor is None: return
        glColor4f(*self.bgcolor)
        x2, y2 = clipped.topright
        glRectf(clipped.x, clipped.y, x2, y2)
dataset/ETHPy150Open ardekantur/pyglet/contrib/wydget/wydget/element.py/Element.renderBackground/original