((a,b,c,d,e,f), (x,y))
return (a*x+c*y+e, b*x+d*y+f)
Applies a matrix to coordinates.
Applies a matrix to coordinates.
Applies a matrix to coordinates .
def apply_matrix((a,b,c,d,e,f), (x,y)):
  '''Applies a matrix to coordinates.'''
  return (a*x+c*y+e, b*x+d*y+f)
def apply_matrix ( ( a , b , c , d , e , f ) , ( x , y ) ) : return ( a * x + c * y + e , b * x + d * y + f )