clip-path render bug, ignores clip-rule="evenodd"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Krzysztof Kosinski |
Bug Description
Greetings
I have noticed that the clip-path option is not handled quite right in Inkscape. It works correctly when two <rect> objects appear inside one <clipPath> object with the default clip-rule="evenodd" option (see ClipPath4.svg in the attachment). But, in the case where a single <path> object contains 2 subpaths that overlap, the clip-rule should be applied so that the proper "XOR fill" is done on the two paths. The result of ClipPath5.svg shows the bug in Inkscape, it should render two overlapping squares, but the parts that overlap should not be visible. ClipPath5.svg works correctly in firefox and it matches up with the SVG specs, so it looks like Inkscape is simply not applying the clip-rule property when doing the fill before setting the clip.
tags: | added: clipping |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
SVG 1.1 Test Suite: masking-path-05-f www.w3. org/Graphics/ SVG/Test/ 20061213/ htmlObjectHarne ss/full- masking- path-05- f.html>
<http://
Bug #171243 “implement cliprule:evenodd” /bugs.launchpad .net/inkscape/ +bug/171243>
<https:/