miterlimit is FIXED8 (float)

SVG import - closing rectangle, stroke gradients
This commit is contained in:
Jindra Petřík
2015-12-26 23:23:56 +01:00
parent a669c89698
commit bc7b57c6fb
10 changed files with 15 additions and 17 deletions

View File

@@ -2718,7 +2718,7 @@ public class SWFInputStream implements AutoCloseable {
ret.noClose = (int) readUB(1, "noClose") == 1;
ret.endCapStyle = (int) readUB(2, "endCapStyle");
if (ret.joinStyle == LINESTYLE2.MITER_JOIN) {
ret.miterLimitFactor = readUI16("miterLimitFactor");
ret.miterLimitFactor = readFIXED8("miterLimitFactor");
}
if (!ret.hasFillFlag) {
ret.color = readRGBA("color");