frame SVG export: text positions fixed

This commit is contained in:
Honfika
2014-04-20 09:51:21 +02:00
parent b48fcf3c94
commit 2fe575a1d5
18 changed files with 9 additions and 108 deletions

View File

@@ -2671,8 +2671,7 @@ public final class SWF implements TreeItem, Timelined {
// TODO: if (layer.filters != null)
// TODO: if (layer.blendMode > 1)
String assetPath = level == 0 ? exporterContext.assetsDir + File.separator + assetFileName : assetFileName;
Matrix mat = new Matrix(layer.matrix);
mat.translate(rect.xMin, rect.yMin);
Matrix mat = Matrix.getTranslateInstance(rect.xMin, rect.yMin).preConcatenate(new Matrix(layer.matrix));
exporter.addImage(mat, boundRect, assetPath);
// TODO: if (layer.clipDepth > -1)...