#NEWLINE# def transform( self , m11 , m12 , m21 , m22 , dx , dy ) : #NEWLINE# #INDENT# a = self . matrix [ 0 ] #NEWLINE# b = self . matrix [ 1 ] #NEWLINE# self . matrix [ 0 ] = ( ( a * m11 ) + ( b * m12 ) ) #NEWLINE# self . matrix [ 1 ] = ( ( a * dy ) + ( b * m22 ) ) #NEWLINE# self . matrix [ 2 ] += ( ( a * dx ) + ( b * dy ) ) #NEWLINE# a = self . matrix [ 3 ] #NEWLINE# b = self . matrix [ 4 ] #NEWLINE# self . matrix [ 3 ] = ( ( a * m11 ) + ( b * m12 ) ) #NEWLINE# self . matrix [ 4 ] = ( ( a * m21 ) + ( b * m22 ) ) #NEWLINE# self . matrix [ 5 ] += ( ( a * dx ) + ( b * dy ) )