very basic SVG import, no line/fill styles, only paths with constant color.

This commit is contained in:
honfika@gmail.com
2015-12-14 19:31:20 +01:00
parent 4052b6902f
commit 4ad494501f
5 changed files with 174 additions and 7 deletions

View File

@@ -2687,10 +2687,9 @@ public class SWFInputStream implements AutoCloseable {
LINESTYLE ret = new LINESTYLE();
newDumpLevel(name, "LINESTYLE");
ret.width = readUI16("width");
if ((shapeNum == 1) || (shapeNum == 2)) {
if (shapeNum == 1 || shapeNum == 2) {
ret.color = readRGB("color");
}
if (shapeNum == 3) {
} else if (shapeNum == 3) {
ret.color = readRGBA("color");
}
endDumpLevel();