code: def endclip(self):
          
          self.__clip_box = self.__clip_stack[-1]
          del self.__clip_stack[-1]
          self.grestore()
docs: End the current clip region. When clip calls are nested, it
          ends the most recently created crip region.