Fixed: Flash viewer - strokes scaling, cropped strokes

This commit is contained in:
Jindra Petřík
2021-03-14 20:47:23 +01:00
parent a1c7b26b9d
commit f073a6615e
25 changed files with 360 additions and 37 deletions

View File

@@ -2903,7 +2903,7 @@ public final class SWF implements SWFContainerItem, Timelined {
RenderContext renderContext = new RenderContext();
renderContext.cursorPosition = cursorPosition;
renderContext.mouseButton = mouseButton;
timeline.toImage(frame, time, renderContext, image, false, m, transformation, m, colorTransform);
timeline.toImage(frame, time, renderContext, image, false, m, new Matrix(), m, colorTransform);
return image;
}
@@ -3830,4 +3830,9 @@ public final class SWF implements SWFContainerItem, Timelined {
removeTag(index);
addTag(index, newTag);
}
@Override
public RECT getRectWithStrokes() {
return getRect();
}
}