7 Replies Latest reply on Oct 7, 2014 11:22 PM by poortip87

    Where can I map the translate values of the tranformation matrix in a document?

    poortip87 Level 1

      Hi All,


      I have been looking into the transformation matrix of InDesign for a day now. Had great help from http://www.indiscripts.com/blog/public/data/coordinate-spaces-and-transformations-1/Coordi nateSpacesTransfos01_KeyConcep…


      I am executing the following script to get the transformation matrix of a page-item.

      var pageItem = app.activeDocument.pageItems.item(0);
      mx = pageItem.transformValuesOf(CoordinateSpaces.parentCoordinates)[0]; 
      alert( mx.matrixValues );


      Now on executing the above I am able to understand how the 'a', 'b', 'c', 'd' values are calculated. But I do not have an understanding on the 'e', 'f' values that represent the horizontal and vertical translations respectively.


      Can anyone tell me what these values represent on the InDesign document?