R/cpTransform.R
cpTransformNew.Rd
Construct a new transform matrix. (a, b) is the x basis vector. (c, d) is the y basis vector. (tx, ty) is the translation.
cpTransformNew(a, b, c, d, tx, ty)
a | [ |
---|---|
b | [ |
c | [ |
d | [ |
tx | [ |
ty | [ |
[cpTransform *
]
C function prototype: static inline cpTransform cpTransformNew(cpFloat a, cpFloat b, cpFloat c, cpFloat d, cpFloat tx, cpFloat ty)