Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-990

intersected clipping paths are not rendered properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG Rasterizer
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC

      Description

      If a clipPath element references another clipPath (via a clip-path attribute) the result is supposed to be the intersection of both paths. The current implementation of Batik however seems to return the complement, i.e. the intersected area is excluded.

      Example: The lower square in the attached SVG should be yellow, the intersected region should be green. Currently it's the other way round.

        Attachments

        1. clip-test.svg
          0.6 kB
          Martin Gieseking

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              martin.gieseking@uos.de Martin Gieseking
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: