What's the meaning of the non numerical values in the XFL's edge definition?

前端 未结 2 1924
小蘑菇
小蘑菇 2020-12-29 10:25

XFL is the new uncompressed ADOBE FLASH (CS5) source file, it consists from XML definitions, most of them are clear but unfortunately, the important one are strange.

2条回答
  •  抹茶落季
    2020-12-29 11:14

    Hm... I was wrong with the guess to # values!

    I've decompiled the produced shape and can say, that for example value #BD9.4D must be a silly hexadecimal encoding of number 3033.77. I would like to know, why is Adobe using something like that in code which should be human readable?

    EDIT: the above is wrong, the correct result for #BD9.4D is 3033.30078125

    >> (to integer! #{000BD94D}) / 256
    == 3033.30078125
    

    Also note, that numbers like #19F.2 are binary #{00019F20}

    According the S4 type of values, they could be just some additional info for the FLASH editor because when I manually remove them, I can load the source and the shape is same.

提交回复
热议问题