code: def render_image(self, rgbobj, dst_x, dst_y):
          
          self.logger.debug("redraw pixmap=%s" % (self.pixmap))
          if self.pixmap is None:
              return
          self.logger.debug("drawing to pixmap")
  
          # Prepare array for rendering
          arr = rgbobj.get_array(self.rgb_order, dtype=np.uint8)
          (height, width) = arr.shape[:2]
  
          return self._render_offscreen(self.pixmap, arr, dst_x, dst_y,
                                        width, height)
docs: Render the image represented by (rgbobj) at dst_x, dst_y
          in the offscreen pixmap.