Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

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

$
0
0

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?

 

Thanks!


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>