Mon 08 Feb 2016 03:22:56 PM UTC, comment #11:
This problem is still reproducible on current Gnash git version, @bwy's
test file (file #18005) is still showing a filled triangle. @strk's patch
(file #18379) doesn't seem to apply on current codebase anymore.
I have made another test SWF file (using libming's makeswf) which tries to
re-demonstate this problem on both object filling and stroking, and also
include point-based `MovieClip.hitTest()` checks on the resulting shape.
This is a correct result from Adobe Flash Player:
http://i.imgur.com/mfaS7BS.png
Player's trace output from the run:
You'd see that the code rendered as a filled star with two unconnected
border lines, and all point-based `MovieClip.hitTest()` checks on the shape
are all passing.
This is an image result from Gnash:
http://i.imgur.com/ijx8lkQ.png
Gnash's trace output from the run:
You'd see that the code rendered as a filled pentagon with star-shaped hole
instead, and two lines drawn are also closed in loop. Point-based
`MovieClip.hitTest()` checks on the shape are also mostly failing.
Test SWF, source code, build script, screenshots, and logs are attached as
`linereset-star.zip`.
Gnash: 0.8.11dev (git 435d3e9 6-Feb-2016)
Adobe Flash Player: 11.2 r202 (11.2.202.491) Standalone
System: Debian GNU/Linux 7.0 Wheezy i386
(file #36276)
|