Skip to main content

m3_cm_compose_transform

m3_cm_compose_transform(result, tX, tY, sX, sY, cx, cy, angle)

Composes column-major transform matrix Column-major matrices are used in CSS

Kind: global function

ParamTypeDescription
resultArray.<number> | Float32Array
tXnumbertranslation X offset
tYnumbertranslation Y offset
sXnumberscale in X axis
sYnumberscale in Y axis
cxnumbercenter of rotation X
cynumbercenter of rotation Y
anglenumberrotation angle