Пример #1
0
 def render_as_pixbuf(self, *args, **kwargs):
     if not self.tiledict:
         logger.warning('empty surface')
     t0 = time.time()
     kwargs['alpha'] = True
     res = pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
     logger.debug('%.3fs rendering layer as pixbuf', time.time() - t0)
     return res
Пример #2
0
 def render_as_pixbuf(self, *args, **kwargs):
     if not self.tiledict:
         print 'WARNING: empty surface'
     t0 = time.time()
     kwargs['alpha'] = True
     res = pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
     print '  %.3fs rendering layer as pixbuf' % (time.time() - t0)
     return res
Пример #3
0
 def render_as_pixbuf(self, *args, **kwargs):
     if not self.tiledict:
         logger.warning('empty surface')
     t0 = time.time()
     kwargs['alpha'] = True
     res = pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
     logger.debug('%.3fs rendering layer as pixbuf', time.time() - t0)
     return res
Пример #4
0
 def render_as_pixbuf(self, *args, **kwargs):
     if not self.tiledict:
         print 'WARNING: empty surface'
     t0 = time.time()
     kwargs['alpha'] = True
     res = pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
     print '  %.3fs rendering layer as pixbuf' % (time.time() - t0)
     return res
Пример #5
0
 def render_as_pixbuf(self, *args, **kwargs):
     return pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
Пример #6
0
 def render_as_pixbuf(self, *args, **kwargs):
     return pixbufsurface.render_as_pixbuf(self, *args, **kwargs)