You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a couple swfs that use oval radial gradients, and they don't render properly. Here are a couple screen shots from SwiffDiff:
This is the SwiffCore rendering
This is the flash rendering
In my limited monkeying around, I discovered that if I switch line 531 of SwiffRenderer.m to use the AffineTransform's "c" instead of its "a" I get a circular gradient that is roughly the right size. I've no idea if that is just coincidence or not. The cirular radial gradients I tested had identical "a" and "d" values, but default values for "b" and "c".
I have a couple swfs that use oval radial gradients, and they don't render properly. Here are a couple screen shots from SwiffDiff:
This is the SwiffCore rendering
![screen shot 2014-02-24 at 2 57 42 pm](https://camo.githubusercontent.com/b0d2c2ec729cfdf86eedeb1bff6fd71b130556c908ed08dc3557e67ae2258001/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313535383538392f323235313635382f30653237313236652d396439662d313165332d383663302d3736366639323032643131382e706e67)
This is the flash rendering
![screen shot 2014-02-24 at 2 57 55 pm](https://camo.githubusercontent.com/1b982257836d86d8796db1bbf3b4827d029a0f9593b0cd10eaec7e9bea3b0648/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313535383538392f323235313636352f31656236633330342d396439662d313165332d393635332d3361353734303535336565322e706e67)
In my limited monkeying around, I discovered that if I switch line 531 of SwiffRenderer.m to use the AffineTransform's "c" instead of its "a" I get a circular gradient that is roughly the right size. I've no idea if that is just coincidence or not. The cirular radial gradients I tested had identical "a" and "d" values, but default values for "b" and "c".
If its helpful, the swf I used to take the screenshots can be downloaded here: https://dl.dropboxusercontent.com/u/4009158/testSwf/ovalGradientTest.swf
Thanks for your work on this project!
The text was updated successfully, but these errors were encountered: