Old*_*des 12 flash flash-cs5 xfl
XFL是新的无压缩ADOBE FLASH(CS5)源文件,它由XML定义组成,其中大部分都是清晰但不幸的是,重要的是奇怪的.
展望各种现有资源,我可以看到shape的EDGE定义如下:
<Edge strokeStyle="1" edges="!0 0S4|180 0"/>
<Edge strokeStyle="1" edges="!2720 2720S6|0 2720!0 2720|0 0!0 0/2720 2720"/>
<Edge fillStyle1="1" edges="!3532 1539.5S2[#BD9.4D #577.3C 2952.5 1756.5!2952.5 1756.5[#AF6.DA #4C6.1D 3584 1119!3584 1119|3532 1539.5"/>
Run Code Online (Sandbox Code Playgroud)
做一些测试我可以说:
! == move to position
| == draw line from the position to the new position
/ == probably same like |
[ == draw curve
( == probably same like [
Run Code Online (Sandbox Code Playgroud)
但是什么意味着像S4或#BD9.4D这样的价值?我还没有证明,#值可以以某种方式编码非常小的数字.我不知道什么是S4.
Cla*_*ers 12
!(x,y) 搬去
/(x,y)+ 了lineTo
|(x,y)+ 了lineTo
[(x1 y1 ex ey)+ curveTo(二次)
](x1 y1 ex ey)+ curveTo(二次)
((pBCPx pBCPy)? ; x1 y1 x2 y2 ex ey (({Q,q,P,p})? x y)+ curveTo(立方开始)
)(nBCPx nBCPy)? ; curveTo(立方结束)
Sn 选择(n =位掩码,1:fillStyle0,2:fillStyle1,4:笔画)
#aaaaaa.bb 是一个带符号的固定点32位数