def draw(self, x, y, z, clipped):
        # translate
        glPushMatrix()
        glTranslatef(int(x), int(y), z)

        # render the common Element stuff - border and background
        attrib = GL_CURRENT_BIT
        bg, border = self.bgcolor, self.border
        if (bg and bg[-1] != 1) or (border and border[-1] != 1):
            attrib |= GL_ENABLE_BIT
        glPushAttrib(attrib)
        if attrib & GL_ENABLE_BIT:
            glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
            glEnable(GL_BLEND)
        self.renderBackground(clipped)
        self.renderBorder(clipped)
        glPopAttrib()

        # translate padding
        if self._padding:
            glTranslatef(self._padding, self._padding, 0)

        # now render the element
        self.render(clipped)

        glPopMatrix()
Draw me given the parameters:
dataset/ETHPy150Open ardekantur/pyglet/contrib/wydget/wydget/element.py/Element.draw