#NEWLINE# def begin_page( self , page , ctm ) : #NEWLINE# #INDENT# ( x0 , y0 , x1 , y1 ) = page . mediabox #NEWLINE# ( x0 , y0 ) = apply_matrix_pt ( ctm , ( x0 , y0 ) ) #NEWLINE# ( x1 , y1 ) = apply_matrix_pt ( ctm , ( x1 , y1 ) ) #NEWLINE# mediabox = ( 0 , 0 , abs ( ( x0 - x1 ) ) , abs ( ( y0 - y1 ) ) ) #NEWLINE# self . cur_item = LTPage ( self . pageno , mediabox ) #NEWLINE# return