Esempio n. 1
0
 def drawTiledPixmap(self, rect, pixmap, subRect):
     device = self.nullDevice()
     if device is None:
         return
     if device.mode() != QwtNullPaintDevice.NormalMode:
         QPaintEngine.drawTiledPixmap(rect, pixmap, subRect)
         return
     device.drawTiledPixmap(rect, pixmap, subRect)
Esempio n. 2
0
 def drawTiledPixmap(self, rect, pixmap, subRect):
     device = self.nullDevice()
     if device is None:
         return
     if device.mode() != QwtNullPaintDevice.NormalMode:
         QPaintEngine.drawTiledPixmap(rect, pixmap, subRect)
         return
     device.drawTiledPixmap(rect, pixmap, subRect)