Return to FunctionReference page

Function

Purpose

  • Returns the SWFMatrix structure associated with a display item.

Parameters

  1. SWF!DisplayItem item - The SWF Display Item to get the matrix of

Returns

  • A SWFMatrix structure with the following members:
  • scaleX
  • rotate0
  • rotate1
  • scaleY
  • translateX
  • translateY

Language

  • C

Ming version

  • (unknown). At least 0.4.0 and onwards, possibly earlier versions as well.

Notes

  • If you need to access the individual fields of the matrix, use the SWFMatrix functions:
  • SWFMatrix_getScaleX
  • SWFMatrix_getScaleY
  • SWFMatrix_getRotate0
  • SWFMatrix_getRotate1
  • SWFMatrix_getTranslateX
  • SWFMatrix_getTranslateY

Example

  • None as yet