Update a transform matrix with an element

update_transform(transform, elem)

Arguments

transform

matrix

elem

svg element

Value

new transform matrix