Reference Manual - 1.1.1
IDirectFBSurface   SetMatrix

Set the transformation matrix.

DFBResult SetMatrix (
  IDirectFBSurface   * thiz,
  const s32   * matrix
);

Enable usage of this matrix by setting DSRO_MATRIX via IDirectFBSurface::SetRenderOptions().

The matrix consists of 3x2 fixed point 16.16 values. The order in the array is from left to right and from top to bottom.

All drawing and blitting will be transformed:

              X' = X * v0 + Y * v1 + v2
              Y' = X * v3 + Y * v4 + v5
        

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License