#NEWLINE# def render_image( self , name , stream ) : #NEWLINE# #INDENT# assert isinstance ( self . cur_item , LTFigure ) #NEWLINE# item = LTImage ( name , stream , ( item . cur_item . x0 , self . cur_item . y0 , self . cur_item . x1 , self . cur_item . y1 ) ) #NEWLINE# self . cur_item . add ( item ) #NEWLINE# return