#NEWLINE# def render_image( self , rgbobj , dst_x , dst_y ) : #NEWLINE# #INDENT# 'Render the image represented by (rgbobj) at dst_x, dst_y\n        in the pixel space.\n        ' #NEWLINE# self . logger . debug ( ( 'redraw pixmap=%s' % self . pixmap ) ) #NEWLINE# if ( self . pixmap is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . logger . debug ( 'drawing to pixmap' ) #NEWLINE# arr = rgbobj . get_array ( self . _rgb_order ) #NEWLINE# ( height , width ) = arr . shape [ : 2 ] #NEWLINE# return self . _render_offscreen ( self . pixmap , arr , dst_x , dst_y , width , height )