open-flash / swf-parser

Rust and Typescript parsers for SWF
GNU Affero General Public License v3.0
28 stars 8 forks source link

[all] Update to `swf-tree@0.5.0` #27

Closed demurgos closed 5 years ago

demurgos commented 5 years ago

This commit updates the parser to use the new unified representation for edges. The presence of a control point determines the type of the edge. In the case of curved edges, delta is the difference between the start and end of the edges, it corresponds to the sum of the old control_delta and anchor_delta.