Added alpha and Erase blend modes support

This commit is contained in:
Jindra Petřík
2022-11-13 15:37:22 +01:00
parent ff160911a6
commit 1cd8327416
25 changed files with 283 additions and 277 deletions

View File

@@ -3048,7 +3048,7 @@ public final class SWF implements SWFContainerItem, Timelined {
renderContext.cursorPosition = cursorPosition;
renderContext.mouseButton = mouseButton;
ExportRectangle viewRect = new ExportRectangle(rect);
timeline.toImage(frame, time, renderContext, image, image, false, m, new Matrix(), m, colorTransform, zoom, false, viewRect, m, true, Timeline.DRAW_MODE_ALL);
timeline.toImage(frame, time, renderContext, image, image, false, m, new Matrix(), m, colorTransform, zoom, false, viewRect, m, true, Timeline.DRAW_MODE_ALL, 0);
return image;
}