[BZ#557345] Incorrect use of nonzero fill rule for clip paths
Submitted by fib..@..com
Please describe the problem: When defining more than one element inside a clip path, if one of them circles an area clockwise and the other counterclockwise, then that area is considered to be empty on said clip path. This would be correct on a normal path, but as far as I'm aware, not on a clip path.
Steps to reproduce: Run rsvg on the following file:
Note that the clip path is only restricting the rectangle to the size of the SVG image - so it should have no effect on how the rectangle is displayed.
Actual results: The resulting PNG file is a 100×100 transparent image.
Expected results: The resulting PNG file should have been a 100×100 completely black image.
Does this happen every time? Yes.