API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEMATRIXTRANSFORM

Brew Release
Brew MP 1.0.2
See Also
ITRANSFORM_TransformBltComplex()
Description
This struct describes a 2X2 matrix used for doing complex transformations.
Definition
  •    typedef struct {
          int16 A;
          int16 B;
          int16 C;
          int16 D;
       } AEETransformMatrix;
    
Comments
Some example transforms: Scale by 2.5: A = 640, B = 0, C = 0, D = 640. Rotate: A = 256 * cos(angle), B = 256 * sin(angle), C = 256 * -sin(angle), D = 256 * cos(angle). Note: The above values have already been converted to fixed point.