Beispiel #1
0
 def paint_thumbnail(self, canvas, allocated_size, horizontal):
     if self.page != None and self.thumb_icon != None and self.screen.driver.get_bpp() == 16:
         return g15cairo.paint_thumbnail_image(allocated_size, self.thumb_icon, canvas)
Beispiel #2
0
 def paint_thumbnail(self, canvas, allocated_size, horizontal):
     if self.page != None and self.thumb_icon != None and self.screen.driver.get_bpp(
     ) == 16:
         return g15cairo.paint_thumbnail_image(allocated_size,
                                               self.thumb_icon, canvas)
Beispiel #3
0
def paint_thumbnail_image(allocated_size, image, canvas):
    return g15cairo.paint_thumbnail_image(allocated_size, image, canvas)