コード例 #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)
コード例 #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)