Issue #136 Fixed FLA export text positions

This commit is contained in:
Jindra Petk
2013-06-29 19:54:07 +02:00
parent 553a503627
commit c5048c8b2f

View File

@@ -2197,6 +2197,9 @@ public class XFLConverter {
}
String matStr = "";
matStr += "<matrix>";
RECT bounds = tag.getBounds();
matrix.translateX += bounds.Xmin;
matrix.translateY += bounds.Ymin;
matStr += convertMatrix(matrix);
matStr += "</matrix>";
if ((tag instanceof DefineTextTag) || (tag instanceof DefineText2Tag)) {