R/cpTransform.R
cpTransformNew.RdConstruct 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)