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

Clipping area of filter appears to be too small when using animateMotion

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: Other

      Description

      Hi,

      in the following example the line from the group with the id rudy is animated
      without a problem. However the filter referenced through the xlink is cut off
      after a few moments of the animation. I assume it's a problem with it's
      clipping area...

      (Using Squiggle from batik-1.7beta1 under Windows XP)

      Many thanks!

      Stevo

      ---------------------------------------------------

      Test case:

      ---------------------------------------------------

      <?xml version="1.0" standalone="no"?>
      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/
      1.1/DTD/svg11.dtd">
      <svg width="900" height="800" version="1.1" xmlns="http://www.w3.org/2000/svg">

      <defs>
      <filter id="filter" x="0" y="0">
      <feGaussianBlur stdDeviation="4"/>
      <feOffset dx="13" dy="13"/>
      </filter>
      </defs>

      <use xlink:href="#rudy" filter="url(#filter)"/> <!-- Apache Batik
      (using Squiggle from batik-1.7beta1) has a problem with the clipping area of
      this filter - it cuts the shadow off after a little while -->

      <g id="rudy">
      <line x1="0" y1="0" x2="150" y2="200" style="stroke:black;stroke-
      width:6">
      <animateMotion path="M 0 0 500 200" dur="10s"
      repeatCount="indefinite"/>
      </line>
      </g>
      </svg>

      ---------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
                Reporter:
                batik.foodie@spamgourmet.com Foodie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: