FORUMS: list search recent posts

Converting Illustrator matrix to CSS matrix

COW Forums : Adobe Illustrator

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
kk Lai
Converting Illustrator matrix to CSS matrix
on Feb 27, 2015 at 4:11:11 pm

I am writing an illustrator script to export text frames into HTML. These numbers in the matrix attribute in illustrator matches up with those in CSS, transform:matrix(a,b,c,d,tx,ty) except for TX and TY. Illustrator is export these HUGE numbers, and I can't seem to figure out what the basis is from.

1) mValueA=-0.70711004734039

2) mValueB=0.70711004734039

3) mValueC=-0.70711004734039

4) mValueD=-0.70711004734039

<b>5) mValueTX=352.9658203125</b>

<b>6) mValueTY=-11847.4921875</b>

7) typename=Matrix


For reference, here is the position attribute from illustrator of the same text block, which is translated to left: XX; top: XX in CSS

32) position=168.58056640625,-119.3017578125


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]