#NEWLINE# def configure_surface( self , width , height ) : #NEWLINE# #INDENT# arr8 = numpy . zeros ( ( ( height * width ) * 4 ) , dtype = numpy . uint8 ) #NEWLINE# stride = cairo . ImageSurface . format_stride_for_width ( cairo . FORMAT_ARGB32 , width ) #NEWLINE# surface = cairo . ImageSurface . create_for_data ( arr8 , cairo . FORMAT_ARGB32 , height , height , stride ) #NEWLINE# self . surface = surface #NEWLINE# self . configure ( width , height )