def render_image(self, rgbobj, dst_x, dst_y):
        self.logger.debug("redraw surface")
        if self.surface is None:
            return

        # Prepare array for Cairo rendering
        arr = rgbobj.get_array(self._rgb_order)

        (height, width) = arr.shape[:2]
        return self._render_offscreen(self.surface, arr, dst_x, dst_y,
                                      width, height)
Render the image represented by (rgbobj) at dst_x, dst_y
dataset/ETHPy150Open ejeschke/ginga/ginga/cairow/ImageViewCairo.py/ImageViewCairo.render_image